Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Merging Perl/JS

by rbc (Curate)
on Sep 23, 2002 at 19:24 UTC ( #200205=note: print w/ replies, xml ) Need Help??

in reply to Merging Perl/JS

Please excuse me if this solution does not make any sense
as I do not do a lot of web development and my Javascript
is a bit rusty. But it would seem that you need to have your
onChange() javascript function do a something like this ...

function myOnChange(s) { var o = s.options[s.selectedIndex]; var t = o.text; document.location = "whatever?setButtonTo="+t; }
where whatever?setButtonTo is a cgi that will re-write
your form with the appropirate value for its submit button.

Hope that helps :)

Comment on Re: Merging Perl/JS
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2015-11-26 23:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls