how to remove dom in jquery code example Example: how to remove html element in jquery $("button").click(function(){ $("p").remove(); });