On Fri, 2006-16-06 at 11:43 +0000, Mark Martin wrote:
> Hi,
> does anybody have the correct syntax for using a drop down list.
> I'm using the object oriented type syntax for CGI. For example my text
> boxes are printed thus :
>
> $cgi = new CGI;
> print $cgi->input({-type=>"text",-name=>"textbox01",-class=>"textbox"})
>
> drop down list innormal html would be :
>
> <select name="selectName" size="1">
> <option value="one">First
> <option value="two">Second
> <option value="three">Third
> </select>
>
> cant figure out for cgi . . . .??
Search `perldoc CGI` for:
CREATING A POPUP MENU
CREATING AN OPTION GROUP
CREATING A SCROLLING LIST
--
__END__
Just my 0.00000002 million dollars worth,
--- Shawn
"For the things we have to learn before we can do them, we learn by doing them."
Aristotle
* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>