In mootools I use the Request.JSON(options).get(); to send a request to the server.
Options is:
{'onSuccess':function(){alert(1)},'url':'https://192.168.12.219/reports/get/favorite/details/?report_id=7'}
the url I am in is: https://192.168.12.219/reports/container/
So I do not see any issues with cross domain (this code works perfectly in FF/Chrome any other normal browser).
The error I get is:
Access is denied
I monitor the Apache error and access log - I see nothing there, so it seems to me this has stopped at the client and not some funky error code the Apache returned.
Any ideas?
-
In normal browsers, they find out you are still in the same domain even if I use complete URL, so I can use
'url':'https://192.168.12.219/reports/ge.......
But, in IE7 it assumes you are doing cross domain stuff if you enter full url, so, if I put relative path (even from root, it works just fine )
/reports/ge.......
Some one was lazy at MS
Oskar Krawczyk : Also, if you need x-domain requests use Request.JSONP
0 comments:
Post a Comment