how to remove html tags in jquery code example
Example 1: remove div javascript
var div = document.getElementById('div-01');
div.remove();
Example 2: how to remove html element in jquery
$("button").click(function(){
$("p").remove();
});
var div = document.getElementById('div-01');
div.remove();
$("button").click(function(){
$("p").remove();
});