Sir, I think you need to handle
onkeydown
events for these controls. you can obtain keycode by the code:
var evt = (window.event) ? event : null;
if (evt) {
var charCode = (evt.charCode) ?
evt.charCode :
((evt.keyCode) ? evt.keyCode :
((evt.which) ? evt.which : 0));
}
you can also use
this page to test key codes.