Home >Web Front-end >JS Tutorial >Implementation code for deleting elements in Jquery_javascript skills
Syntax:
empty()
remove(expr);
empty is used to delete the child elements of the specified element, remove is used to delete the element, or set refinement conditions to perform deletion, such as:
html
Use the empty method to delete this tag
The following tags will be deleted
Ready for use remove method to delete
Preparing to use the remove method to delete
Preparing to use the remove method to delete< ;/p>