Buenas, tengo esta funcion en javascript
:
Código PHP:
function borrar(i){
if (window.document.getElementById('check'+i).checked==false) {
window.document.getElementById('total'+i).value='';
window.document.getElementById('cant'+i).value='';
}
else{
window.document.getElementById('cant'+i).focus();
}
}
(tambien como document.getElementById, es decir sin el window)
que en IE funciona de p.m. pero en Firefox, nada de nada, como podría "universalizarla"?????
PD. Firefox si tiene javascript activado,
muchisimas gracias