I have a form with a couple of submit buttons, plus a "pseudolink "
that is also supposed to submit the form; the submitted form data
feeds to a CGI script. The two submit buttons have the name
"go_for_it" , so that when the form is submitted, the CGI script
looks for the value of the CGI parameter "go_for_it" . I want the
pseudolink to set the value of this CGI parameter prior to submitting
the form, but I can't get it to work. Here's the latest version
of the HTML+JavaScript code for the pseudolink:
<a onclick="var f = document.forms['myform']; f['go_for_it'][0].value='foo'; f.submit(); return false;" href="warn_no_j s.html">pseudol ink</a>
After one clicks on the pseudolink, the receiving CGI reports that
the CGI parameter "go_for_it" is not defined. What am I doing
wrong?
Thanks!
jill
--
To s&e^n]d me m~a}i]l r%e*m?o\v[e bit from my a|d)d:r{e:s]s.
Comment