Hi Jean,
Try switching the = and the ^ around. So, the selector expression
should look like this:
$('[EMAIL PROTECTED]')
That is, if you selecting all images that have a id that starts with
fechar.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
Hi Jean,
In this situation, .parents() -- with an s -- should do the trick.
You should also put :first in there if you have nested divs.
So, try replacing this ...
$(this).parent(div)
with this...
$(this).parents(div:first)
--Karl
_
Karl Swedberg
2 matches
Mail list logo