Yeah, I know that perl doesn't run in the browser. But the point is, I want to run a function when I click the button. How to do that??
Asked and answered :)
You've decided on onclick, and onclick is javascript, ie , in the browser only
Your options are 1) submit a form like keszler showed or 2) use javascript to make a http request like perlig showed
Is that clearer?
In reply to Re^5: CGI button -onClick not working
by Anonymous Monk
in thread CGI button -onClick not working
by tarunkhanna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |