Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Need help with a javascript issue
- From: rer at datacompusa.com (Roger Roelofs)
- Subject: [Javascript] Need help with a javascript issue
- Date: Thu Aug 19 07:30:04 2004
Alejandro,
On Aug 19, 2004, at 12:26 AM, Alejandro Celery wrote:
> 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);
> }
> //-->
I don't see a problem with the code you posted. The function
'valvacio' is used in this bit of code, but is not shown. Can you post
a url to this page? Debugging is much easier when we can see the whole
process.
Roger
-------------------------------------------------------
Roger Roelofs web www.datacompusa.com
Datacomp Appraisal Services web www.mhvillage.com
3215 Eaglecrest Drive, NE Email rer at datacompusa.com
Grand Rapids, MI 49525-4593
- References:
- [Javascript] Need help with a javascript issue
- From: Alejandro Celery
- [Javascript] Need help with a javascript issue
- Prev by Date: [Javascript] Need help with a javascript issue
- Next by Date: [Javascript] Getting the ip address
- Previous by thread: [Javascript] Need help with a javascript issue
- Next by thread: [Javascript] Print the contents of a variable into the source
- Index(es):