Issue with jQuery ajax post (working with get). error 12031
Posted
by jul
on Stack Overflow
See other posts from Stack Overflow
or by jul
Published on 2010-03-25T14:17:43Z
Indexed on
2010/03/25
15:23 UTC
Read the original article
Hit count: 461
hi,
UPDATE: I didn't set the response mimetype to 'application/json'. It works now.
In the website I'm working on (http://piem.org:8000/) I've got an issue with an ajax post request. Every time the search button is clicked or the google maps 'idle' is triggered I send a request to get some data. While the request works as expected in most cases, it returns an error when I click a result and come back to the search page. (type 'barcelona' in the search box to get the unique restaurant in the db).
The server processes the request properly but it seems that the error occurs when the javascript receives it (it returns a "12031" error code).
It works properly with FF 3.0.6, IE 8.0 and Chrome 5.0 with GET, and with FF with both POST and GET.
Anybody can help?
thanks
jul
© Stack Overflow or respective owner