mili
09-30-2003, 03:23 PM
Hi
How can i get the selected index value in js for a drop down box?
thanks
How can i get the selected index value in js for a drop down box?
thanks
|
Click to See Complete Forum and Search --> : selected index mili 09-30-2003, 03:23 PM Hi How can i get the selected index value in js for a drop down box? thanks mg8 09-30-2003, 03:29 PM I think all you need to do is put SELECTED before the ending ">" in the option you want to be selected. Jona 09-30-2003, 03:31 PM alert(document.forms["form_name"].selectboxname[document.forms["form_name"].selectboxname.selectedIndex].value); [J]ona mili 09-30-2003, 04:35 PM Thanks jona.. u are the best! Jona 09-30-2003, 05:50 PM Thank you! :) [J]ona webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |