remove

UK[rɪˈmu:v] US[rɪˈmuv]

vt.Remove; expel; take off, take off; migrate

vi.Migrate, move; leave

n.Distance, gap; move

jquery remove() method syntax

Function:remove() method removes the selected elements, including all text and child nodes. This method does not remove the matching elements from the jQuery object, so the matching elements can be reused in the future. But remove() does not preserve the element's jQuery data, except for the element itself. Others such as bound events, additional data, etc. will be removed. This is different from detach().

Syntax:$(selector).remove()

jquery remove() method example

    

这是一个段落。

这是另一个段落。

Run instance »

Click the "Run instance" button to view the online instance