$("#demo").remove(); // removes the selected element
$("#demo").empty(); // removes children
$("div").remove(".cl1, .cl2"); // removes divs with the listed classes
//remove()
$("#div1").remove();
//empty()
$("#div1").empty();