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

From: Date: Fri, 13 Oct 2000 13:58:14 +0000
Subject: Re: Multiple select name in combination with javascript (dom)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-20006@lists.php.net to get a copy of this message
I will have to offcourse write something to delete items from this new string as well :( D. ----- Original Message ----- From: "Dominick Vansevenant" <dv@mobyus.com> To: <joe@jwebmedia.com> Cc: <php-general@lists.php.net> Sent: Friday, October 13, 2000 3:56 PM Subject: Re: [PHP] Multiple select name in combination with javascript (dom) > 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 > > > -- > 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 (#20006) next »