A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Hi @Jonathan ,
Thanks for clarifying.
You can simplify your function like this:
function testKeyCode(e) {
e = e || window.event; // fallback for old browsers
var keycode = e.keyCode; // numeric key value
if (keycode === 37 && e.altKey) {
CallButtonClick2();
window.history.back();
}
}
document.onkeydown = testKeyCode;