Sign in

.remove()

Remove the selected elements from the document.

Syntax

neon.remove()

Requirements

This method should be executed on a selection of elements. Please see the .select() method.

Return value

This method is chainable. It returns a copy of the Neon object on which it was called.

Description

This method allows you to remove elements from the document. This will also cause any child nodes of the selected elements to be removed.