empty div jquery

JavaScript
  
    $("button").click(function(){

   $("div").empty();

 });
  
 
Source

Also in JavaScript: