jQuery – add() Method
The add() method adds elements to an existing group of elements in the whole document, or just inside context elements if specified.
The add() method adds elements to an existing group of elements in the whole document, or just inside context elements if specified.
The addClass() method adds one or more class names to the selected elements.
The after() method inserts specified content (HTML tags, jQuery objects, DOM elements) after the selected elements.
The append() method inserts specified content (HTML tags, jQuery objects, DOM elements) at the end of the selected elements.
The before() method inserts specified content (HTML tags, jQuery objects, DOM elements) before the selected elements.
The appendTo() method inserts HTML elements at the end of the selected element or elements.
The clone() method makes a copy of selected elements, including child nodes, text and attributes.
The detach() method removes the selected elements, including all text and child nodes, but keeps data and events.
The empty() method removes all child nodes and content from the selected elements, but does NOT remove the element itself or its attributes.
The hasClass() method checks if any of the selected elements have a specified class name, and returns “true” if any do.
The height() method sets the height of the selected elements, not including padding, border, or margin.
The innerHeight() method returns the inner height of the FIRST matched element, including padding, but NOT including border and margin.
The innerWidth() method returns the inner width of the FIRST matched element, including padding, but NOT including border and margin.
The insertAfter() method inserts HTML elements after the selected elements.
The insertBefore() method inserts HTML elements before the selected elements.
The offset() method sets the offset coordinates for ALL matched elements the selected elements, relative to the document.
The offsetParent() method returns the first positioned parent element.