Eventhandlers

liunx

Guest
When I try to use the 'which' property of the event 'onKeydown' by issue the code <br />
alert('you press '+window.event.which+'key')<br />
in the 'onKeydown' eventhandler function the alert window display 'Undefined' word for the property at any key I depressed.<br />
so how can I get the right code of the depressed key using the 'which' property.<br />
by the way I'm using IE 5.5 browser.<!--content-->
 
Back
Top