I've got a html table with td class-formlabel and text (HP)Hello
Why doesn't this replace the text?
$(this).text().replace('(HP)','');Why does this remove formating if
thisis$("td.ms-formlabel").each(function(){$(this).text("hello");How can hide the TR rows for a match given the rendered html above and the below code? (Note I need to use the below condition and loop)
$("td.ms-formlabel").each(function(){ if($(this).text().match('(HP)')){ // what code here to hide the entire TR row ? }
Thanks.