remove()
Last updated
Last updated
Removes items making them non-selectable.
Accepts a valid HTMLElement
node, instances of HTMLCollection
and NodeList
, an array of items or a single index or array of indexes as the first and only argument.
See the method for further info.