[thelist] returning values form dropdown

Chris Blessing webguy at mail.rit.edu
Fri Jul 19 10:19:01 CDT 2002


Matthias-

Have you tried using eval() to fool JS into thinking you're using an object
named blah[] instead of an array named blah[]?

Throw up a link so we can see this issue 1st-hand.  It's too early for me to
gather all the details from an email. :)

Chris Blessing
webguy at mail.rit.edu
http://www.330i.net

> Hi all evolters -
>
> I am in need for a little clearing of the brain on this one ...
>
> This is a PHP database front end. I have a form which assigns values with
> two select boxes (All available and currently selected).
> Select boxes are populated form the database.
> So far so good.
> Now, if I want to use the naming convention with square brackets to return
> all chosen values for the "currently selected", my JavaScript on this
> particular page blows up. I have stolen Matt Kruse's template for moving
> items between select boxes.
>
> The only solution I have seen, which looks really clumsy, is to select all
> values before I hit the submit button.
>
> Is there any other way? I could swear I have seen something where the name
> of the select box had escaped characters, but I cannot figure out how
>
>
> Thanks a lot!
>
>
>  Regards
> Matthias Ritzkowski
>




More information about the thelist mailing list