Re: Multiple select name in combination with javascript (dom)

From: Date: Fri, 13 Oct 2000 13:56:33 +0000
Subject: Re: Multiple select name in combination with javascript (dom)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-20005@lists.php.net to get a copy of this message
Yikes, that's a lot of coding for something simple. I will start with this but hope someone else has another answer. Thanks !! Domme ----- Original Message ----- From: <joe@jWebMedia.com> To: "Dominick Vansevenant" <dv@mobyus.com> Cc: <php-general@lists.php.net> Sent: Friday, October 13, 2000 4:06 PM Subject: Re: [PHP] Multiple select name in combination with javascript (dom) > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#20005) next »