in reply to Re: How to keep the state of a drop down select box in perl
in thread How to keep the state of a drop down select box in perl
I usually use map:<select name="dropdown"> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> </select>
my @options = ( 'Option 1', 'Option 2', 'Option 3', ); @options = map { "<option>$_</option>" } @options; print '<select name="dropdown">', @options, "</select>\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbq) Re: Re: Re: How to keep the state of a drop down select box in perl
by BBQ (Curate) on Dec 16, 2000 at 13:18 UTC |