.remove()
Available on: InDom, InDomArrayCleans the internal state of the InDom object(s) and removes the underlying DOM element(s) from the document.
This method is also triggered automatically, when the element is removed from the DOM by any other means.Throws:
This method is also triggered automatically, when the element is removed from the DOM by any other means.Throws:
Error - If the underlying element (or an element in case of InDomArray) has already been removed
Examples:// remove the first .example>div
$1(".example>div").remove();
// remove all .example>div
$a(".example>div").remove();Next: is »