N
noident
Greetings!
I am writing a web form and need some javascript in it.
Here's the relevant bit:
<select name="start">
<option value="1167570000" onClick="alert('blah');" selected>2007-01
<option value="1170248400" onClick="alert('blah');" >2007-02
<option value="1172667600" onClick="alert('blah');" >2007-03
<option value="1175349600" onClick="alert('blah');" >2007-04
</select>
I expect a pop-up saying "blah" to appear when I change the select
options. Firefox fulfills my expectations. IE6 doesn't. Javascript is
enabled in my IE, that is:
<script>alert('blah');</script>
produces the pop-up.
What am I missing?
Thanks in advance.
I am writing a web form and need some javascript in it.
Here's the relevant bit:
<select name="start">
<option value="1167570000" onClick="alert('blah');" selected>2007-01
<option value="1170248400" onClick="alert('blah');" >2007-02
<option value="1172667600" onClick="alert('blah');" >2007-03
<option value="1175349600" onClick="alert('blah');" >2007-04
</select>
I expect a pop-up saying "blah" to appear when I change the select
options. Firefox fulfills my expectations. IE6 doesn't. Javascript is
enabled in my IE, that is:
<script>alert('blah');</script>
produces the pop-up.
What am I missing?
Thanks in advance.