How do I obtain the value of Select?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I have a select tag as follows

<SELECT ID="Select1" NAME="Select1" ONCHANGE="do_alert()">

I need, when the user choose an option, to print an alert
which displays the text in the option chosen, i.e. 1 or 2
in this example, but how do I access the value of the html
select tag, I tried


But this seems to be an empty alert box. Any ideas what might I be
doing wrong?


Site Timeline