php - using CSS to hide certain tr with specific class name only if it contain keyword -


i have many trs have same class name - sectiontableentry1.
want tr hidden if contains keyword, such "recommended".

here example http://jsfiddle.net/aqfqk/1/

if not misstaken, looking :

$('.sectiontableentry1').each(function(){     if($(this).html().indexof('recommended') != -1){         $(this).hide()     } }) 

since want little blurry me, tell me if wrong.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -