//This line is very Importance
document.onkeydown = checkKeycode
function checkKeycode(e)
{
var keycode;
if (window.event)
keycode = window.event.keyCode;
else
if (e.which == 113) // for F2 Key of Key board
//keycode = e.which;
//alert("keycode: " + keycode);
document.getElementById("ImgBtnRoute").click();
}
No comments:
Post a Comment