How to call a CGI function on HTML button click -
i have html form. have submit button calls cgi script(function), defined , declared in c file.
similarly, want call "save function"(cgi script) on save button click. so, question how can call cgi script on button click on html form.
i newbie html , cgi, need implement this.
you need send data of html form cgi file via or post request. example;
<form action="cgi-bin/save.cgi" method="post">
when click save button, it'll call save.cgi
Comments
Post a Comment