[jQuery] how tu use jQuery.getJSON in synchronous mode
I try to use jQuery.ajax with dataType : 'json' :
jQuery.ajax({
url : "poll.json",
dataType : 'json',
cache : false,
succcess : function(jsonObj, textStatus){
........
},
error : function(XMLHttpRequest, textStatus, errorThrown){
.........
},
async : false
});
it seems not running