Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/07/2005, 01:11
Avatar de Jose_minglein2
Jose_minglein2
 
Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 19 años, 6 meses
Puntos: 8
no funciona en FireFox

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