Re: HTML_AJAX.formSubmit
| From: | Joshua Eichorn | Date: | Thu, 13 Sep 2007 16:05:44 +0000 |
| Subject: | Re: HTML_AJAX.formSubmit | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27926@lists.php.net to get a copy of this message | ||
Simon Welsh wrote:
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 You might be getting some sort of JavaScript error during the form submission process. Are you seeing anything in the JavaScript console.-josh