I have nested tables trying to hide top level row. But it is hiding nested table row child also. How can hide only top level row?
<table class='ms-formtable'>
<tr></tr>
<tr>
<table>
<tr></tr>
<tr></tr>
<tr></tr> // it is hide this row also
</table>
</tr>
<tr></tr> // just need to hide only this row
<tr></tr>
</table>
Code
<script type="text/javascript">
$(document).ready(function() {
$("table[class='ms-formtable'] tr:nth-child(3)").hide();
});