can any one tell me that what is the jquery script for clearing this div on button click
<div id="div1">
Mindstick Software.
<p>Civil lines</p>
</div>
<br>
</div>
<button>Clear</button>
can any one tell me that what is the jquery script for clearing this div on button click
<div id="div1">
Mindstick Software.
<p>Civil lines</p>
</div>
<br>
</div>
<button>Clear</button>
there is empty() method in jquery just use that