jQuery DOM Reference
Last Updated Jul 21, 2015, 12:00:06 PM
jQuery DOM Reference
The following table lists all the jQuery DOM Methods.
Method | Description | Example |
---|---|---|
removeClass | Removes the current HTML class element from the other HTML elements |
Try It |
toggleClass | toggle between adding and removing the HTML elements |
Try It |
clone | It will copy the current HTML element to the DOM tree |
Try It |
detach | Removes the selected HTML elements from the DOM tree. |
Try It |
replaceWith | Used to replace each HTML element with new content from matched elements in the DOM tree |
Try It |
replceAll | Replace all HTML elements in the DOM tree with new HTML elements |
Try It |
append | Inserts specific content at the end of the selected HTML element. |
Try It |
appendTo | Used to insert specific content at the end of the selected HTML element. |
Try It |
html | html() method sets or returns the content (innerHTML) of the selected HTML elements. |
Try It |
text | text() method sets or returns the text content of the selected HTML elements. |
Try It |
wrap | wrap() method wraps HTML structure around each element in the group of matched HTML element in DOM tree. |
Try It |
unwrap | unwrap() method removes the parent element of other HTML elements. |
Try It |
wrapAll | wrapAll() method wraps HTML structure around all elements in the group of matched HTML element in the DOM tree. |
Try It |
wrapInner | wrapInner() method wraps around matched HTML element in DOM tree. |
Try It |
Other Advanced jQuery and DOM topics you might want to learn
jQuery Basic DOM Methods
jQuery DOM Removal
jQuery DOM Insertion Inside
jQuery DOM Insertion Outside
jQuery DOM Insertion Around
Sources and Credits
The content and methods in the tutorial has been referred and updated with jQuery API and The jQuery Foundation
Last Updated Jul 21, 2015, 12:00:06 PM
Recommanded Premium jQuery Online Courses
Learning 200 jQuery Functions with 800 Examples -Udemy
Learn jQuery in One Month - from OneMonth
The Ultimate Web Development Course -Udemy
Learn jQuery: An In-depth Course For Beginners -Udemy
Learning 200 jQuery Functions with 800 Examples -Udemy
Learn jQuery in One Month - from OneMonth
The Ultimate Web Development Course -Udemy
Learn jQuery: An In-depth Course For Beginners -Udemy