I have a table row with <div> surrounded.
......
<div id="idx1">
<tr>

//html elements

</tr>
</div>


<input type="button" value="enableDiv" onclick="toggleAlert()" />

I want when page loads , <div> be disabled and when button clicked <div> enabled.


How do I do it ? Can we do it using javascript ?

Can JQuery be used here ?how?