|
|||||||
| JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...) |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 )
});
Firefox keeps telling me: Error: no element found Source File: http://localhost:8080/GeoAdaptaApp/geoLogger/logGuiEvents?json=%7B%22eventsQueue%22:%5B%7B%<JSON stuff> Line: 1 The call always end up in the onFailure block. Full request here: 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 |
| Bookmarks |
| Tags |
| ajax, json |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|