Re: HTML_AJAX.formSubmit

From: Date: Fri, 14 Sep 2007 04:05:42 +0000
Subject: Re: HTML_AJAX.formSubmit
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27930@lists.php.net to get a copy of this message
<script type="text/javascript" src="js?client=all"></script> On 14/09/2007, at 9:54, Joshua Eichorn wrote:
Odd whats the line to load the javascript libraries look like. -josh Simon Welsh wrote:
SyntaxError: Parse error undefined Line: 1 Whenever HTML_AJAX.replace is called, but no error when submitting the form. On 14/09/2007, at 4:05, Joshua Eichorn wrote:
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&section={$_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 --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- 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
--PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- 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

« previous php.pear.general (#27930) next »