> document.write('<strong>Pick a section:<\/strong> <select><option > id="goto1" value="Section 1">Section 1<\/option><option id="goto2" > value="Section 2">Section 2<\/option><option id="goto3" value="Section > 3">Section 3<\/option><\/select>'); > document.close(); > </script>
You should be binding the 'change' event on the <select>, not the 'click' event on the <option>.