[jQuery] Re: Why does :not([id=blah]) not work?

2008-11-27 Thread Jeremy Carlson
Awesome - that cleared everything up for me!!! I went right to the cleaner version, and it worked. Thank you so much, Jeremy

[jQuery] Re: Why does :not([id=blah]) not work?

2008-11-26 Thread ricardobeat
The selector passed to $ function is a string, so you need to concatenate whatever variables you want into the string: $(#central img:not([id=+thefirst+])).hide(); this actually could be much clearer: $('#central img').not(#+thefirst).hide(); the same applies to your 'href' var. sds, -