Código:
Además de permitirme ingresar comas "," y Cambiar puntos "." por Comas.function validar_decimalComa(e)
{
if(!e) e = window.event;
tecla =(document.all)?e.keyCode:e.which;
if (tecla==8 || tecla==44)
return true;
if(tecla==46)
{
if(document.all)
window.event.keyCode=44;
else
window.event.which = 44;
return true;
}
patron =/\d/;
return patron.test(String.fromCharCode(tecla));
}
Ok, esto me funciona bien en IE pero en FireFox tengo el siguiente mensaje de Error:
"window.event has no properties"
¿A que puede deberse eso?, como puedo mejorar este script para que se ejecute en FF?
Gracias a todos

