🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #697

Javascript - Listbox - PHP

#697
From: RobertoCL
Date: Mon, 19 Nov 2007 03:14
17 lines
1397 bytes
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.


Tendr� soluci�n, sin tener que estar cargando pagina por cada click.
--
RCL
Technical Details
Message-ID: <fhqv2d$m49$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-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,2d26ac79e0bc9c74,start
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: Javascript - Listbox  - PHP
Date: Mon, 19 Nov 2007 00:14:15 -0300
Organization: Varios
Lines: 20
Message-ID: <fhqv2d$m49$1@news.nivel5.cl>
NNTP-Posting-Host: pc-146-86-104-200.cm.vtr.net
X-Trace: news.nivel5.cl 1195442061 22665 200.104.86.146 (19 Nov 2007 03:14:21 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Mon, 19 Nov 2007 03:14:21 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198