xajax receiving full page instead of form
Posted: Mon Jan 04, 2010 2:24 pm
I am using xajax to submit a form but I am getting "Error: the XML response that was returned from the server is invalid.
Received:"
I've turned debug on to find that the entire page is being submitted instead of just the contents of the form.
I am submitting the form like this:
I tested this with an alert and it is submitting just the form values.
I've attached the ajax file.
CMS Version 1.6.6
Installed Modules
CMSMailer 1.73.14
FileManager 1.0.1
MenuManager 1.6.2
ModuleManager 1.3.1
News 2.10.3
nuSOAP 1.0.1
Printing 1.0.4
Search 1.6.1
ThemeManager 1.1.1
TinyMCE 2.5.5
FrontEndUsers 1.6.11
CGSimpleSmarty 1.4.3
CGExtensions 1.17.6
CompanyDirectory 1.4.1
RequestQuote 1.0.0
Forum 0.9.2
AjaxMadeSimple 0.1.6
Chat 0.2.0
SiteMapMadeSimple 1.2.1
ModuleMaker 0.3.1
Tracker 1.0.0
Received:"
I've turned debug on to find that the entire page is being submitted instead of just the contents of the form.
I am submitting the form like this:
Code: Select all
onclick="xajax_ajaxSendRCB(xajax.getFormValues('m4d410moduleform_2')); return false;"
I've attached the ajax file.
CMS Version 1.6.6
Installed Modules
CMSMailer 1.73.14
FileManager 1.0.1
MenuManager 1.6.2
ModuleManager 1.3.1
News 2.10.3
nuSOAP 1.0.1
Printing 1.0.4
Search 1.6.1
ThemeManager 1.1.1
TinyMCE 2.5.5
FrontEndUsers 1.6.11
CGSimpleSmarty 1.4.3
CGExtensions 1.17.6
CompanyDirectory 1.4.1
RequestQuote 1.0.0
Forum 0.9.2
AjaxMadeSimple 0.1.6
Chat 0.2.0
SiteMapMadeSimple 1.2.1
ModuleMaker 0.3.1
Tracker 1.0.0