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>
Home / DeveloperSection / Forums / Jquery empty function
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>
Anonymous User
03-Apr-2018there is empty() method in jquery just use that