$("#ul_opts").parents("form")[0].id ?

-- Yehuda

On 12/31/06, blemming <[EMAIL PROTECTED]> wrote:


I have a UL inside some form tags and a I want to be able to get the name
or
id of that form.

$('#ul_opts').ancestors('form').id()

Works in IE but returns null in FF. Any thoughts?

Thanks, David
--
View this message in context:
http://www.nabble.com/How-to-get-the-form-name-tf2903016.html#a8110854
Sent from the JQuery mailing list archive at Nabble.com.


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




--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to