Select-Box and keyup
SilverGun
- javascript
Hi,
i hope u guys understand english, because as a matter of fact i cant german.
So my problem is the behaviour of a normal select-box. I have a select-box and in there i have added an eventhandler "onkeyup". Usually this eventhandler fires works fine.
But in this case it doesn´t work:
<select name="serverselectbox"
value="someValue"
autocomplete="false"
size="1"
onkeyup="alert(window.event.keyCode)">
...
</select>
The eventhandler "onchange" is working fine, but that doesn´t fullfill the wishing aim. I have a list of values in the select-box and i want that after a n keyup i alert the keyCode. So actually i need the Arrow-Key-Down and Arrow-Key-Up.
Does anybody knows why i get no result?
Greets
Hi,
now suddenly everything works, although i didn´t change much.
Thanks anyway and keep working...
Greets