in reply to Multiple selected dropdown box in perl cgi

If you're talking about using CGI don't use it to create HTML/JS, use a templating system (HTML::Template/Template). A small step up would be to use a framework like Dancer or CGI::Application.

If you need to look up the values of the drop down boxes based on some server side operation (get values from a database) use AJAX, otherwise use plain JavaScript.

  • Comment on Re: Multiple selected dropdown box in perl cgi