alert(1); $.ajax({ url: k, cache: false, dateType:'json', success: function(data,textStatus,html){ alert(2); } }); alert(3);