Sending data via ajax IE permission denied error
- $jq.ajax({
- type: "GET",
- url: "http://othersite.com/file.php",
- data: data,
- dataType: "json",
- cache: false,
- contentType: "application/json; charset=utf-8",
- success: function() {
- $jq('#aaa').html('');
- $jq('#aaa').append('Data sent :)');
- }
- });
- return false;
- });
- }
It's working in Firefox, but it doesn't work in Internet Explorer.
Any idea how to fix it?
I know there could be problem with cross domain BUT before sending data I'm getting some data from another file (from another domain) and it's working.