El código es el siguiente
Código PHP:
document.onkeydown=function(e){
e = e || window.event;
miFuncion();
//e.cancelBubble is supported by IE - this will kill the bubbling process.
if (document.all){
e.keyCode=0;
e.cancelBubble = true;
e.returnValue = false;
}
//e.stopPropagation works in Firefox.
if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
return false;
}
¿Alguien tiene alguna idea o sabe como solucionarlo?