Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: calling perl subroutine on selecting the values in list box?

by citromatik (Curate)
on Apr 27, 2009 at 07:23 UTC ( #760292=note: print w/ replies, xml ) Need Help??


in reply to Re: calling perl subroutine on selecting the values in list box?
in thread calling perl subroutine on selecting the values in list box?

While the original post doesn't require a dynamic (AJAX based) solution, here is a simpler one:

  • 1. (As before) Register an onchange event handler using JavaScript
  • 2. When it fires, call a CGI script, run the desired subroutine and load the resulting page.

Using a template system like HTML::Template could also be useful.

citromatik


Comment on Re^2: calling perl subroutine on selecting the values in list box?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-12-28 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls