[jQuery] How to get the form name

[jQuery] How to get the form name


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
discuss@jquery.com
http://jquery.com/discuss/