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