If I remember correctly there is no id() function any more. Use attr('id') 
instead.

 

Nandi

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abel Tamayo
Sent: Thursday, January 11, 2007 2:14 PM
To: jQuery Discussion.
Subject: [jQuery] What's the new parent() in jQuery1.1?

 

I just switched to jQuery-1.1b and it's great stuff, but now I get this error 
in Firebug: $(this).parent().id is not a function where it worked perfectly 
until now. I revised the list of changes but didn't find a substitute to 
parent() - the closest this I found was the change from ancestors() to 
parents() but I don't think that's what I need. 
Can anyone help?

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

Reply via email to