Grygonos has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem. I want to change the value of a form's submit button based on the value of a database query who's results are dependant on the values of two dropdown boxes in that same form.
so in the onchange() portion of the HTML dropdown I need the script to call a perl subroutine that makes the required query and then from that perl sub I would call the Javascript function with the result of the query as a parameter.
How can said mastery be accomplished?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Merging Perl/JS
by belg4mit (Prior) on Sep 23, 2002 at 19:26 UTC | |
|
Re: Merging Perl/JS
by dreadpiratepeter (Priest) on Sep 23, 2002 at 20:20 UTC | |
|
Re: Merging Perl/JS
by rbc (Curate) on Sep 23, 2002 at 19:24 UTC | |
|
Re: Merging Perl/JS
by fruiture (Curate) on Sep 23, 2002 at 19:24 UTC | |
|
Re: Merging Perl/JS
by andreychek (Parson) on Sep 24, 2002 at 01:02 UTC |