how can i pass the <select>,<optio n> value to Function within Java Script
FAQ abt. JavaScript
Collapse
X
-
Depends on where you are calling the function from. If you call the function on submit of the from you may do something likeOriginally posted by chummahow can i pass the <select>,<optio n> value to Function within Java Script
[HTML]document.forms['formName'].selectName.opt ions[document.forms['formName'].selectName.sel ectedIndex].value[/HTML]
to retrive the selected value -
Comment