|
|
| No such thing as a small change | |
| PerlMonks |
Assigning a value from JavaScript onSubmit in CGIby rashley (Scribe) |
| on Nov 16, 2006 at 12:46 UTC ( [id://584534]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.rashley has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI that's creating a button.
I know I can use -onsubmit to call a JavaScript to go and do something. Can I call a JavaScript that returns a value, and assign that value? For instance:
The syntax above for that last line doesn't work. Can this even be done? Thanks.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||