Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1 class="page_headers" id="product_title">5/8 Other Stuff</h1>
- <label class="radio-option">
- <span>5/8</span>
- </label>
- <label class="radio-option">
- <span>1/8</span>
- </label>
- <label class="radio-option">
- <span>1/2</span>
- </label>
- $( document ).ready(function() {
- var partTitle = $("#product_title").text();
- $( "span" ).each(function( i ) {
- if ($(this).text().is(":contains('" + partTitle + "')")) {
- this.css = ("display", "none");
- } else {
- }
- });
- });
Add Comment
Please, Sign In to add comment