Javascript on Dropdown boxes

General ShopSite user discussion

Javascript on Dropdown boxes

Postby brehg » Wed Jul 23, 2008 10:50 am

The dropdown boxes that shopsite creates are named "10:finopt:0". I need to perform a javascript function that uses the value selected in the dropdown. How do I get the value from the dropdown javascript does not like 10:finopt:0.value or "10:finopt:0".value?
brehg
 
Posts: 14
Joined: Sun Jul 06, 2008 7:12 pm

Figured it out

Postby brehg » Wed Jul 23, 2008 11:35 am

I figured it out by using document.forms["f1"]["10:finopt:0"].value
brehg
 
Posts: 14
Joined: Sun Jul 06, 2008 7:12 pm


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 28 guests