Hi,
I got this problem, I developed my asp.net c# apps in my own pc that has
IE6, and I recently moved it onto the server that is using IE v5. I found out
that my javascript is not compatible with IE5. Can someone please help me to
spot where and why there is now an error in my javascript ? I have listed it
below:
<script language="javascript">
function CheckKey() {
if (event.keyCode == 13) { //enter
document.getElementById("btnRQn").focus();
}
if (event.keyCode == 9) { //tab
document.getElementById("btnRQn").focus();
}
if (event.keyCode == 27) { //esc
document.getElementById("btnRQn").focus();
}
if (event.keyCode >= 166 && event.keyCode <= 172) {
document.getElementById("lblDisplayName").focus();
}
}
</script>
Many thanks.
Andrew.