[jQuery] selecting parent div from an id

[jQuery] selecting parent div from an id

Thanks for the quick reply, but I'm afraid that doesn't work.
The div isn't parent element of the input. There is also a form and some
other elements before the but I need the first parent div it
encounters..
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of poni
Sent: maandag 17 juli 2006 17:31
To: jQuery Discussion.
Subject: Re: [jQuery] selecting parent div from an id
$($('#fieldname1').get(0).parentNode).show()
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/