J
jaspal singh
How can i trap the KayPress and Keydown event using asp.net mobile form.
for example
<script language="javascript" for="window" event="onload()">
document.getElementById("TEST").focus();
function keypress(e)
{
alert(window.event.keycode)
}
function keydown(e)
{
alert(window.event.keycode)
}
document.onkeypress = keypress
document.onkeydown=keydown
</script>
the above code is working fine on IE6.0 but not working on pocket IE 2.0
Thanks
Jasapl Singh
for example
<script language="javascript" for="window" event="onload()">
document.getElementById("TEST").focus();
function keypress(e)
{
alert(window.event.keycode)
}
function keydown(e)
{
alert(window.event.keycode)
}
document.onkeypress = keypress
document.onkeydown=keydown
</script>
the above code is working fine on IE6.0 but not working on pocket IE 2.0
Thanks
Jasapl Singh