#jQuery #empty .empty() .empty() clears the contents of the selected element. Note that the tag remains, just deleting the content. (Use .remove() to remove the entire element including the tag.) grammar .empty() for example Lorem $( 'h1' ).empty() Then it becomes: example Clicking the button clears the contents of the p element. Click To Empty Lorem Ipsum Dolor