in reply to CGI button -onClick not working
The onClick event occurs in the web browser and - assuming javascript is enabled - runs javascript in the browser. You appear to be intending that the button click runs first.cgi on the webserver.
If that is the case, HTML Forms and Input would be a good place to start learning. Once you have the basics of HTML forms, then the FORMS section of the CGI documentation will be easier to comprehend.
|
|---|