<html> <head> </head> <body> <script type="text/javascript"> <!-- function change(){ var ddl = document.getElementById("ddl"); var option = ddl.options[ddl.selectedIndex]; alert("value=" + option.value + "\ntext=" + option.innerHTML); } //--> </script> <select id="ddl" name="ddl" onchange="change();"> <option value="1">A</option> <option value="2">B</option> <option value="3">C</option> </select> </body> </html>