Somebody
Somebody

Reputation: 9645

jQuery remove element from the stack

How to remove element from the stack, but not from the DOM?

Thanks ;)

Upvotes: 1

Views: 152

Answers (1)

hobbs
hobbs

Reputation: 240649

Just use the .not() method. It accepts a list of elements as well as a selector.

Upvotes: 1

Related Questions