Newbie to StackOverflow - so thanks to all who might help.
An application we use to deliver quotes online to our customers outputs HTML that I can mostly customize. There is a type of row that is output that I'd like to suppress in the HTML conditionally.
The HTML looks like:
<td colspan="3" class="col-description">
<script> after the whole html so that it is applied when html is loaded.
Now your task has two parts: find all the elements to hide and hide them. Since you tagged this with jQuery I suppose that using jQuery is ok. To find cells with
P=, you may use this custom
var $cells = jQuery('td:contains("P=")');
To get the rows, you have to use the
var $rows = jQuery('td:contains("P=")').parent();
Finally, you want to hide them, so hide them:
The latter line is what you want, as far as I understand your question.
But as guys have mentioned, this kind of questions is not encouraged here. You should rather try to learn basics using other sources and ask here if you have specific questions of non-basic level.