Just out of curiosity, are there more than 1 DOM item on the page w/id of
sText?

 

-Dan

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: Friday, January 19, 2007 9:09 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] ID of parent

 

> var ej = $("#sText").parent().attr("id");

Looks good to me. Do you have a test page?

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to