create and delete elem in jquery code example
Example 1: how to remove html element in jquery
$("button").click(function(){
$("p").remove();
});
Example 2: jquery remove elemtns
.remove("#elemnt_id .elemnt_class");
$("button").click(function(){
$("p").remove();
});
.remove("#elemnt_id .elemnt_class");