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