On Fri, 29 Nov 2013 17:25:50 +0530 Mukesh Kumar <[email protected]> wrote:
> Hi, > > Please let me know how to build web pages with Dancer. The documentation and cookbook should help you get started; there's also plenty of help on this mailing list and the IRC channel (http://dancer.pm/irc for details) > I want to make a web page with select tag of html and on each select > it should have to perform action. Depends what action you want to perform (something client side, or a request to the server) but that sounds rather more like a front end Javascript thing. For instance, a random example that might give you a starting point: <select name="foo" onchange="show_choice(this)"> <option value="">Pick your option</option> <option>Foo</option> <option>Bar</option> </select> <script> function show_choice(selectbox) { var picked = selectbox.value; if (picked) { alert("You picked " + picked); } } </script> -- David Precious ("bigpresh") <[email protected]> http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook www.preshweb.co.uk/cpan www.preshweb.co.uk/github _______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
