Archive
Tag: DOM
- Create a DOM element
$(string) - Select the children of an element
$.children() - Get closest element by selector
$.closest() - Get parent element node
$.parent(), $.parents() - Removing an element
$.remove(), $.detach() - Replace a DOM element
$.replaceAll(), $.replaceWith() - Running code when the document is ready
$(document).ready() - Select DOM elements by CSS selector
$(selector), $(selector, context)