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