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



On May 30, 2007, at 10:22 AM, Jean Nascimento wrote:


I´m trying do that
$("[EMAIL PROTECTED]").click(function() {
    alert('u can do it!');
                                $(this).parent("div").hide();                 
                        });
fechar = close

Even with a alert do nothing, where is wrong??

--

[]´s Jean
www.suissa.info

  Ethereal Agency
www.etherealagency.com

Reply via email to