Working with jQuery Empty function.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under jQuery category on | Points: 40 | Views : 296
By using empty() function we can remove inside content of div element.

<script type = "text/javascript">
$(function()
{
$('#btn_empty').click(function()
{
$('#div_contents').empty();
});
})
</script>

Comments or Responses

Login to post response