I have a basic toggle feature for a div connected to a checkbox.
$('#step2').hide();
$('#toggle-check').click(function(){
$('#step2').fadeToggle();
})
Why is .hide() not working to hide the contents of #step2? The content consists of table data, but it's not hiding. When I close the div prematurely, it works fine.
<tr>
<th></th>
<td></td>
</tr>
The #step2 div is currently being placed above all my table data, so maybe it's a CSS styling issue?