Ajax call works with FF, not with other browsers
I have done a php page which returns a (valid) JSON document.
The jQuery code is very simple:
$.ajax({
url: "http://localhost:8888/rkm/json-jc",
dataType: "json",
success: function(data) {
console.log(data);
$('li.jcarousel-item-1', context).html(
'<img src="' + data.nodes['0'].node.vignette + '">'
);
}
});
It works fine in FF and the object returned is OK => see 'FF_console' attached.
But... it doesn't work in Chrome, Safari and Opera, without throwing errors. The data 'vignette' returned is just undefined => see 'Chrome_console' attached.
Thanks in advance for your help !
NB: jQuery version is 1.3.6