selectedIndex Demo
CSGNetwork Custom Search
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back
Right click this window and select "view source" in order to copy the source for this script.
What can I expect from an HTML dropdown box in passing data? Using JavaScript, you can expect universally to most browsers, a minimum of 3 pieces of data. There are ways to extract and pass more data, as well as use additional indexes but not all browsers support them.
sea zero
sea one
sea two
sea three
sea four
selectedIndex
options[].value
options[].text
selectedIndex Demo
View the source. This routine demonstrates what you can expect and what values you can pass from an HTML dropdown box and JavaScript.
Registered® Trademark™ and CopyrightŠ 1973 -
CSG, Computer Support Group, Inc. and CSGNetwork.Com
All Rights Reserved
Home
|
Advertising
|
Calculators
|
Search
|
Contact Us
|
Snippets
|
Sitemap
|
Glossary
|
Top Apps