[Javascript] Need help with a javascript issue

Alejandro Celery alejandro at xve.com
Wed Aug 18 23:26:20 CDT 2004


Hi, mi name is Alejandro.
I can´t get netscape communicator 7.1 to follow a link properly on a certain webpage. IE does so correctly. It is to send text messages to cell phones. I checked the page source and this code i´ve pasted appears in black. Does this mean that this code is not NS compatible? Is there any way to fix this, or the page was designed with only IE in mind?
This is my first post to the list, I apologize if i infringe any house rules. Thanks for your time.

Saludos (greetings).
Alejandro.
<!--
function validainfotext(datos)
	{	
		if (valvacio(datos.celular.value)){alert("Ingrese el número de Celular que desea enviar el Info Text");datos.celular.focus();return false;}
		if (!isNumeric(datos.celular.value)){alert("El número de Celular que desea enviar el Info Text debe contener caracteres numéricos");datos.celular.select();return false;}
		if (datos.celular.value.length != 10){alert("El número de Celular debe contener 10 caracteres");datos.celular.select();return false;}
		if (valvacio(datos.remitente.value)){alert("Ingrese el Remitente del Info Text");datos.remitente.focus();return false;}
		//if (valvacio(datos.remitente.value))
		var cant = datos.remitente.value.length + datos.mensaje.value.length;
		if (cant >= 110)
		{
			alert("La cantidad de caracteres que utiliza para el remitente y el mensaje no debe superar los 110 caracteres y Ud. está utilizando" + cant + "");
			datos.mensaje.focus();
			return false;
		}
	}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040819/7c0fc7b7/attachment.htm>


More information about the Javascript mailing list