|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Getting all values from a CGI list boxby rashley (Scribe) |
| on Jan 02, 2007 at 13:13 UTC ( [id://592598]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.rashley has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks. I'm using the following to create a scrolling list box.
Here's the important part. The values displayed in the list box are being changed dynamically via JavaScript.
I then pull the value on submit with this: my @values = $cgi->param($attr); All this works, except what's ending up in @values are the those items in the list box that are selected. I know this is as designed. My question is: Is there a way I can get all the values listed in the list box, whether or not they are selected? Thanks.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||