HTML_AJAX.formSubmit
| From: | Simon Welsh | Date: | Thu, 13 Sep 2007 06:53:39 +0000 |
| Subject: | HTML_AJAX.formSubmit | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27917@lists.php.net to get a copy of this message | ||
I am trying to submit a form using the HTML_AJAX class.
I have both the form and the target in a div with id section.
The form is loaded into the div when a link is used.
In the form, I have onsubmit="return !HTML_AJAX.formSubmit(this,'section');" with action="cmsadmin?printreq§ion={$_GET['section']}"
However, when submitting the form, I am sent to cmsadmin?section={$_GET['section']} (the link used to load the form).
Any ideas?
---
Simon Welsh
Admin of http://simon.geek.nz/
Windows is a joke operating system. Hell, it's not even an operating system. NT is Not Tough enough for me either. 95 is how may times it will crash an hour.
http://www.thinkgeek.com/brain/gimme.cgi?wid=81d520e5e