Re: QF: setMultiple changes the name of my select
| From: | Damien Cros | Date: | Fri, 10 Mar 2006 18:19:03 +0000 |
| Subject: | Re: QF: setMultiple changes the name of my select | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23266@lists.php.net to get a copy of this message | ||
Yes I want to remove the []
I have some javascript and document.forms[0].myselect[] doesn't work whereas document.forms[0].myselect does.
On 10 mars 06, at 17:14, Derek Downey wrote:
Attachment: [application/pkcs7-signature] smime.p7s
I'm confused...why do you want to remove [] w/ a multiple select? I was under the impression that to retrieve the data from a multiple select on a form submission (at least for POST) the POST variable had to be an array like this. If you remove the [], can you retrieve the multiple selections? Derek
Attachment: [application/pkcs7-signature] smime.p7s