Article View: chile.comp.programacion
Article #698Re: Javascript - Listbox - PHP
From: RobertoCL
Date: Mon, 19 Nov 2007 03:29
Date: Mon, 19 Nov 2007 03:29
23 lines
1628 bytes
1628 bytes
"RobertoCL" <rcl2020NOSPAM@hotmail.com> escribi� en el mensaje
news:fhqv2d$m49$1@news.nivel5.cl...
> Tengo 2 listbox A y B m�ltiples. A por medio de un bot�n y javascript
> llena a B seg�n se seleccione.
> ejem http://javascript.internet.com/forms/items-popup-list.html
>
> PHP para recoger un listbox m�ltiples necesita el [] en el nombre del
> campo select.
>
> Entonces la llamada de B es
> destList = window.document.forms[0].B;
> Cuando debiera ser
> destList = window.document.forms[0].B[];<---
> pero no funciona.
>
>
hum me respondo
var destList = document.getElementById("destList");
<select size="6" name="destList[]" multiple id="destList">
--
RCL
Technical Details
Message-ID:
<fhqvu9$m6f$1@news.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mailReferences:
<fhqv2d$m49$1@news.nivel5.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,2d26ac79e0bc9c74 X-Google-Attributes: gid1593cb,public,usenet X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail From: "RobertoCL" <rcl2020NOSPAM@hotmail.com> Newsgroups: chile.comp.programacion Subject: Re: Javascript - Listbox - PHP Date: Mon, 19 Nov 2007 00:29:06 -0300 Organization: Varios Lines: 25 Message-ID: <fhqvu9$m6f$1@news.nivel5.cl> References: <fhqv2d$m49$1@news.nivel5.cl> NNTP-Posting-Host: pc-146-86-104-200.cm.vtr.net X-Trace: news.nivel5.cl 1195442953 22735 200.104.86.146 (19 Nov 2007 03:29:13 GMT) X-Complaints-To: news@news.nivel5.cl NNTP-Posting-Date: Mon, 19 Nov 2007 03:29:13 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198