jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery empty() Method

jQuery empty() Method



The empty() method is used to removes all child nodes and content from the selected elements. It does not remove the element itself, or its attributes.




Its syntax is:- $(selector).empty()

Code Explanation

All Tutorials related to jQuery CSS and HTML Methods

All Sections related to jQuery