I have an HTML table:
<table id="indicationResults" class="resultsGrid" cellpadding="2" cellspacing="0" >
Some of the cells in the table only contain strings depending on specific permissions. For example, here is one row that only puts a label and data in each cell if the user has a specific permission:
<tr>
<td id="DV01Label" class="resultsCell">
<%= CustomHelpers.StringWithPermission("DV01", new string[] { PERMISSIONS.hasALM })%>
</td>
<td id="DV01Value" class="alignRight">
<%= CustomHelpers.StringWithPermission(Model.Results.DV01.ToString(Chatham.Web.Data.Constants.Format.CurrencyCentsIncludedFormatString), new string[] { PERMISSIONS.hasALM })%>
</td>
<td id="DV01Fixed" class="alignRight">
<%= CustomHelpers.StringWithPermission(Model.Results.FixedComponent().DV01.ToString(Chatham.Web.Data.Constants.Format.CurrencyCentsIncludedFormatString), new string[] {PERMISSIONS.hasALM})%>
</td>
<td id="DV01Floating" class="alignRight">
<%= CustomHelpers.StringWithPermission(Model.Results.FloatingComponent().DV01.ToString(Chatham.Web.Data.Constants.Format.CurrencyCentsIncludedFormatString), new string[] { PERMISSIONS.hasALM })%>
</td>
</tr>
How do I go back through and delete and all completely empty rows in this SPECIFIC table after the page loads using JQuery, so instead of seeing a tiny little empty row, it's just not there.