There is an archive of this list that has some answers:

http://www.bluedot.net/mail/archive/search.php?f=9&search=select+option&matc
h=1&date=30&fldsubject=1&fldbody=1

Sam, would you consider a doc patch that mentions the archive?

-Dave

----- Original Message -----
From: "Simon Crute" <[EMAIL PROTECTED]>
To: "'htmltmpl'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 6:59 PM
Subject: [htmltmpl] Easy way to set the SELECTED value in <option> lists ?


> Hi all.
>   I'm using HTML::Template to build some <option>, which works fine. But,
I
> can't seem to figure out a quick way to set pump SELECTED into the correct
> <option> without having to completely parse the list for each request.
Since
> most of these <option> lists are generated from a database, and I'll be
> making my scripts persistent via CGI::Fast, It seems silly to have to read
> the entire list just to set the SELECTED flag on one item.
>
> Is there a better way to do this that  I'm missing ?
>
>
>
> --
> Simon Crute
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to