delete jqeury code example
Example 1: jquery remove element
$( ".class" ).remove();
$( "#id" ).remove();
$( "div" ).remove();
Example 2: jquery delete buton
<div class="container">
<div class="goodbye">Goodbye</div>
</div>
$( ".class" ).remove();
$( "#id" ).remove();
$( "div" ).remove();
<div class="container">
<div class="goodbye">Goodbye</div>
</div>