in reply to How to keep the state of a drop down select box in perl

I do it the easy way:
print qq~ <select> <option>$populate <option>1 <option>2 <option>3 </select> ~;
so you may end up with a duplicate entry in the HTML:
<select> <option>2 <option>1 <option>2 <option>3 </select>
but it works and it's a lot cleaner code on the perl side.

Replies are listed 'Best First'.
RE: Re: How to keep the state of a drop down select box in perl
by BBQ (Curate) on Apr 25, 2000 at 01:51 UTC
    Hey, that IS easier! I just wish I had clients that would let me do that! :o(

    BTW: Is the option tag valid html if you don't close it?

    Cheers!