Re: JAvaScript
| From: | Adrian | Date: | Wed, 18 Jun 2003 01:53:46 +0000 |
| Subject: | Re: JAvaScript | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-37755@lists.php.net to get a copy of this message | ||
Lo unico que veo raro aqui es la variable NumProveido no esta definida
dentro de la funcion.
----- Original Message -----
From: "Miguel Obando L." <miguel.obando@essalud.gob.pe>
To: "Lista PHP" <lista@phpes.com>
Sent: Tuesday, June 17, 2003 4:59 PM
Subject: [PHP-ES] JAvaScript
> Quisiera saber si este script esta bien quiero obtener el valor de la
> opcion que he elegido en el select
>
> function ContadorDatos()
> {
> var puntero = frm_ingreso.seltdocu.selectedIndex;
> var dato = frm_ingreso.seltdocu.options[puntero].value
> switch (dato)
> {
> case "07":
> var nProveido = 0;
> nProveido = NumProveido + 1;
> frm_ingreso.NumDocumento.value = nProveido;
> document.write(nProveido);
> }
> }
>
>
> --
> Slds.
>
> GNU/LINUX & Free Software
> Menosprecian a Unix/Linux quienes ignoran su poder
> -------------------------------------------------
> -?) /* Miguel Obando L.
> /\\ /* Dpto. de Sistemas - EsSALUD Arequipa
> _\\V /* Fono +51 54 34-5391
> -------------------------------------------------
> Messenger : m_obandol@hotmail.com
> http://www.e-conex.tk
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>