hello masters! my query is how to stop page refresh in firefox using javascript .
i have code for IE and Chrome:-
<%--stop page refresh in IE & Chrome--%>
<script type="text/javascript">
document.onkeydown = function () {
switch (event.keyCode) {
case 116: //F5 button
event.returnValue = false;
event.keyCode = 0;
return false;
case 82: //R button
if (event.ctrlKey) {
event.returnValue = false;
event.keyCode = 0;
return false;
}
}
}
</script>
<%--end stop page refresh in IE & Chrome--%>
please provide code if anybody has .... thanks in advance .
Go to the complete details ...