Ryan,
you've had a couple of solutions that will work. The macromedia
function, and the direct reference to the element -
document.formName.elements['listBoxName[]']. For me the direct
reference to the element is the most simple, and you can access the
properties in the normal way e.g.
do
_
From: Dimiter Ivanoff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 12:25 PM
To: Ryan Jameson (USA)
Subject: Re: [PHP-DB] Multiselect List
Place the countries in array.
Name the select with your array name.
and for the use as value the keys from the array.Where your
ke
Patel, Aman wrote:
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a functi
;< Ryan
>
>
>
> From: Dimiter Ivanoff [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 18, 2005 12:25 PM
> To: Ryan Jameson (USA)
> Subject: Re: [PHP-DB] Multiselect List
>
>
> Place the countries in array.
> Name the select with you
me.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't
seem
to handle it correctly.
<>< Ryan
From: Dimiter Ivanoff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 12:25 PM
To: Ryan Jameson (USA)
Subje
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a function called "MM_fin
Ryan,
you should be able to refer to the listbox in javascript as
document.formName.elements['listBoxName[]'].
Hope this helps... Dusty
Ryan Jameson wrote:
> That's not the problem. The problem is referring to the listbox via
> javascript. It doesn't like the format: formName.listBoxName[
have you tried getElementByID()?
Bastien
From: "Ryan Jameson (USA)" <[EMAIL PROTECTED]>
To: "Dimiter Ivanoff" <[EMAIL PROTECTED]>
CC:
Subject: RE: [PHP-DB] Multiselect List
Date: Wed, 18 May 2005 12:59:37 -0600
That's not the problem. The problem is referr
_
From: Dimiter Ivanoff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 12:25 PM
To: Ryan Jameson (USA)
Subject: Re: [PHP-DB] Multiselect List
Place the countries in array.
Name the select with your array name.
and for the use as value the keys from the array.Where your
ke