I have some simple code like this for loading form data…
myForm.loadStruct("some.cfc?method=myMethod&something=else&e="+new Date().getTime(), function(){
//do some stuff
});
This worked fine right before I migrated to version 4.0.3. And putting that URL directly into the browser (GET) returns the XML correctly. My XML coming back is syntactically correct. It has always worked. But after 4.0.3 was installed I am now getting a HTTP Status 400 - “The request sent by the client was syntactically incorrect.”. Any ideas as to why?
I see this in the request body now “dhxr1408031290694”. Shouldn’t this be a properly formatted name/value pair? The bottom of this page talks about this new “dhxr1408031290694” value: docs.dhtmlx.com/api__link__dhtml … truct.html
I put this right above my loadStruct call: window.dhx4.ajax.method = “get”;
That fixes the problem. But I’d rather the default POST method be fixed.
Thank you.