获取下拉列表选中的value 代码 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>获取下拉列表选中的value</title> </head> <body> <script type="text/javascript"> window.onload=function(){ var provinceListElt=document.getElementById("provinceList"); provinceListElt.onchange=function(){ //获取选中项的value alert(provinceListElt.value); } } </script> <select id="provinceList"> <option >请选择省份</option> <option value="hb">河北</option> <option value="hn">河南</option> <option value="sx">山西</option> <option value="sd">山东</option> </select> </body> </html>