Hi guys,
I’m making this ajax call:
[CODE] url = “/GeoAdaptaApp/geoLogger/logGuiEvents?json=”+aLotOfJSONStuff;
encUrl = encodeURI(url,”UTF-8″);
new Ajax.Request(encUrl, {
method: ‘get’,
onSuccess: this.sendQueueToServerSuccess( this,logConsole ),
onFailure: this.sendQueueToServerFailure( this,logConsole )
}); [/CODE]
The JSON string seems correct (I checked it with a validator) and it worked on an Ajax.updater (but i need a request now).
Firefox keeps telling me:
Error: [B]no element found
Source File:
Line: 1
The call always end up in the onFailure block.
Full request here: [url]http://tinyurl.com/y8oh968
It’s very strange, any idea about what it could be? Is there a better way to pass json objects to the server?
Thanks,
Mulone