Finding form name from element

View: New views
1 Messages — Rating Filter:   Alert me  

Finding form name from element

by Robert Everland III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to get away from using the old way of doing things, but am trying to figure something out. I can get an items form name by doing document.all.formName.form , how would I dynamically get formName's form value using document.forms or another method? I am creating a javascript calendar that I want to use all over the place and don't want to have to worry about it not working because I am referencing form 0 and its in form 1.



Bob Everland

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=52

Message: http://www.houseoffusion.com/lists.cfm/link=i:33:1928
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/33
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:33
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.33
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54