Re: Multiple select name in combination with javascript (dom)
| From: | joe at jWebMedia dot com | Date: | Fri, 13 Oct 2000 14:06:02 +0000 |
| Subject: | Re: Multiple select name in combination with javascript (dom) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20004@lists.php.net to get a copy of this message | ||
I just make a workaround for this the other day. It drove me
nuts...basically, what I did to fix it was put in a hidden input value
at the bottom of the form. When people selected items on the multiple
select (and when they submitted the form) I had javascript write to the
hidden input with a list of values seperated by "-" but anything will
work. Then, with php, I split the values into an array so I could work
with it easier. Hope this helps some and saves you the hours I wasted on
it!
Joe