Getting Value of Drop Down Box using Java Script

By Paulus, 20 February, 2009

 To retrieve the value of the selected item in a drop down box on a page using java script:

document.form1.cboObject[document.form.cboObject.selectedIndex].value