Re: [OT] JAvaScript

From: Date: Wed, 18 Jun 2003 12:15:27 +0000
Subject: Re: [OT] JAvaScript
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-37492@lists.php.net to get a copy of this message
No lo probé, pero así al boleo, ¿Que valor tiene NumProveido cuando hacés NumProveido + 1? La mejor forma de saber si esta bien, es hacerte un html y probarlo, ni siquiera necesitas subirlo a ningun server!!!! Otra cosa: Cuando la pregunta solo sea de un tema conexo con php (Como javascript), poné [OT] en el subject!!! ----- Original Message ----- From: "Miguel Obando L." <miguel.obando@essalud.gob.pe> To: "Lista PHP" <lista@phpes.com> Sent: Tuesday, June 17, 2003 6: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 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 10/06/03

« previous php.general.es (#37492) next »