Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: CGI to Dancer popup_menu

by choroba (Cardinal)
on Jan 15, 2015 at 14:23 UTC ( [id://1113332]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MCGI=:standard -e 'print popup_menu({ -name    => "query",
                                                -values  => [1, 2, 3],
    ...
    <option selected="selected" value="2">label2</option>
    <option value="3">label3</option>
    </select>
    
  2. or download this
        template 'index', { name => 'query',
                            options => { label1 => 'Option 1',
    ...
                            default => 'label2',
                          };
    
  3. or download this
    <select name="<% name %>" >
        <%- FOR o IN options %>
    ...
        <%- END %>
    </select>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1113332]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-18 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found