This is how my request is looking right now. If i acces directly the server url it works. It's returning the needed data. In Chrome and Firefox works flawless. In IE it doesn't. The request is successful but the returned json is null. It does the same thing in Firefox 3.0 as in IE.
$.ajax({
type: "POST",
url: "http://www.tpltm.ro/dbm/index.php?r=routes/get&type=4e60922f2eb58",
cache: false,
contentType: "application/json; charset=utf-8",
dataType : "json",
success: function(msg) {
console.log(msg);
createMenu(msg);
},
error: function() {
console.log("Error: ajaxRequest");
}
});
rquery parameter, egr=routes%2Fget