jQuery Tutorial


jQuery Example


jQuery References


jQuery HTML remove() Method Reference


  All jQuery with HTML Method References


Uses

jQuery remove() method Removes all selected element content like child elements or text.


Syntax

$(selector).remove()

jQuery remove() Method Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("button").click(function(){
    $("div").remove();
  });
});
</script>
Online Try This Code Your Self....   »

  All jQuery with HTML Method References