Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/04/2011, 14:06
Ibiza3
 
Fecha de Ingreso: noviembre-2006
Mensajes: 49
Antigüedad: 17 años, 6 meses
Puntos: 0
Explorer Saca Errores - Firefoz No

Hola, bueno ya me funciona mi pagina en Firefox, pero el estandar de la empresa es Explorer 8...

Les copio la funcion que saca 2 errores IE8.


Mil Gracias!!!

Parte del Codigo:
Código HTML:
<script language="javascript">
function check(b, el, thisform){
// alert(b);document.miFormulario.miCheck.click()
if(b){	//No esta chequeado, primero envio el formulario luego lo desabilito (a)

var celdas=document.getElementById(el.parentNode.parentNode.id).getElementsByTagName('input');
	var bool = verifyIP(celdas[2].value);
		if(bool){
		celdas[7].checked=0 
		return;
		}
	celdas[5].disabled = '';
	alert('C' + celdas[7].value + 'exion iniciada');
	for (var i = 0, total = celdas.length; i < total-1; i ++) {
	thisform.submit();
	celdas[i].disabled = 'disabled';
	}
}else{	//Esta chequeado, primero lo habilito y envio el formulario (r)
var celdas=document.getElementById(el.parentNode.parentNode.id).getElementsByTagName('input');
	for(i = 0, total = celdas.length; i < total-1; i ++){   //ESTA ES LA LINEA 107 ///////////////////////////
	celdas[i].disabled = '';
	}
thisform.submit();
celdas[6].checked=0
send(false,el,thisform);
}
}
	
function send(nocheck, box, thisform){
if(nocheck){	//No esta chequeado, primero envio el formulario luego lo desabilito (a)
var celdas=document.getElementById(box.parentNode.parentNode.id).getElementsByTagName('input');
	var bool = verifyIP(celdas[2].value);
		
		if(bool){
		celdas[6].checked=0 
		return;     //ESTA ES LA LINEA 120///////////////////////////////////////////
		}
		
	thisform.submit();
	celdas[2].readOnly = nocheck? 'true' : '';
	celdas[3].readOnly = nocheck? 'true' : '';
	celdas[4].readOnly = nocheck? 'true' : '';
	celdas[5].disabled = 'disabled';
	celdas[7].checked=1
	check(true,box,thisform);
}else{	//Esta chequeado, primero lo habilito y envio el formulario (r)
var celdas=document.getElementById(box.parentNode.parentNode.id).getElementsByTagName('input');
	celdas[2].readOnly = nocheck? 'true' : '';
	celdas[3].readOnly = nocheck? 'true' : '';
	celdas[4].readOnly = nocheck? 'true' : '';
	celdas[5].disabled = '';
	alert('C' + celdas[6].value + 'exion terminada');
thisform.submit();
// alert("Si paso por aqui");
}
}

</script> 
Detalles de error de página web
Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Fecha: Wed, 6 Apr 2011 19:53:59 UTC

Mensaje: Argumento no válido.
Línea: 107
Carácter: 2
Código: 0
URI: http://localhost/AllinOneSup.php

Mensaje: Argumento no válido.
Línea: 120
Carácter: 2
Código: 0
URI: http://localhost/AllinOneSup.php