Jquery to hide <tr> tag if value is null

Job ID: 34711706

Budget: $50 – $100 NZD

I have a code snippet where I am using AMPscript to do a lookuporderedrows and then present the results in a table format. Where the id_Product is different then it presents a different table.

In the table, I have a maximum of 6 x <tr> tags. I want these <tr> tags to be hidden IF their respective <td> tags contain no data.

I am uploading the code snippet. I have applied some jquery but it isn't working.
I want help with this.
Related categories: JavaScript HTML jQuery