Hi all,
Here is my code,
[CODE=javascript]if(event.which)
keycode = event.which;//For Mozilla
else
keycode = event.keyCode;//For IE
[/CODE]
But my problem is, the value of keycode returns 46 for pressing "DELETE" key and "." key.
How can I differentiate this?
Please help me with code in both the browsers.
Thanks for all the help.
Regards,
Suresh.
Here is my code,
[CODE=javascript]if(event.which)
keycode = event.which;//For Mozilla
else
keycode = event.keyCode;//For IE
[/CODE]
But my problem is, the value of keycode returns 46 for pressing "DELETE" key and "." key.
How can I differentiate this?
Please help me with code in both the browsers.
Thanks for all the help.
Regards,
Suresh.
Comment