Reputation: 9645
How to remove element from the stack, but not from the DOM?
Thanks ;)
Upvotes: 1
Views: 152
Reputation: 240649
Just use the .not() method. It accepts a list of elements as well as a selector.