Re: [PHP-DB] Multiselect List

2005-05-19 Thread Dusty Bin
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

RE: [PHP-DB] Multiselect List

2005-05-19 Thread RJameson
_ 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

Re: [PHP-DB] Multiselect List. .

2005-05-18 Thread Martin Norland
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

RE: [PHP-DB] Multiselect List

2005-05-18 Thread Dimiter Ivanoff
;< 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

Re: [PHP-DB] Multiselect List

2005-05-18 Thread Brent Baisley
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

Re: [PHP-DB] Multiselect List. .

2005-05-18 Thread Patel, Aman
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

Re: [PHP-DB] Multiselect List

2005-05-18 Thread Dusty Bin
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[

RE: [PHP-DB] Multiselect List

2005-05-18 Thread Bastien Koert
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

RE: [PHP-DB] Multiselect List

2005-05-18 Thread Ryan Jameson \(USA\)
_ 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