This is a known issue, you must not include an element name in the not
selector, for example:

$(".res img").not("[EMAIL PROTECTED]")

is actually saying, find all images inside an element that has a class
of res. Now remove all elements that are images OR the src ends with
on. Changing your code to the following will allow it to work:
$(".res img").not("[EMAIL PROTECTED]")

or even more simply:
$(".res img:not([EMAIL PROTECTED])")

--John


On 2/1/07, Stéphane Nahmani <[EMAIL PROTECTED]> wrote:
> On 1 févr. 07, at 0:16, Karl Rudd wrote:
>
> > What version of jQuery are you using?
>
> I'm using 1.1.1. This is strange. Even though my html and everything
> is obviously more complex than this, the simple selector $(".res img")
> does find the 3 images, so i wonder why refining it with the @src
> doesn't work for me (Firefox 2/Mac). Guess i'll have to stick with the
> # selector...
>
> Thanks for checking!
>
> --
>    Stéphane
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to