Opposite of .find()
Posted
by Ben
on Stack Overflow
See other posts from Stack Overflow
or by Ben
Published on 2010-04-26T22:21:14Z
Indexed on
2010/04/26
22:23 UTC
Read the original article
Hit count: 161
jQuery
|JavaScript
Is there an opposite of .find()?
Where $('.myclass').except('#myid');
Would grab all elements with .myclass except the element with #myid.
I know I could do $('.myclass[id=myid]')
in this example, but seems like it would be helpful in other cases.
Thanks
© Stack Overflow or respective owner