[Javascript] setting select drop selectedIndex

Schalk schalk at volume4.com
Wed Aug 2 12:21:17 CDT 2006


Greetings All,

Should the following be able to set the selectedIndex of a select drop down?

document.checkout.billingstate.options[document.checkout.billingstate.selectedIndex].value 
= state;

Thanks!

-- 
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Business.Solution.Developers





More information about the Javascript mailing list