My attempt:
Code: Select all
$.get(
'script.php', { t: 2, k: 18, u: '8032' }, function() {
alert('done1');
$.get(
'script.php', { t: 5, k: 18, u: '48' }, function() {
alert('done2');
}
)
}
);Moderator: General Moderators
Code: Select all
$.get(
'script.php', { t: 2, k: 18, u: '8032' }, function() {
alert('done1');
$.get(
'script.php', { t: 5, k: 18, u: '48' }, function() {
alert('done2');
}
)
}
);Code: Select all
$.get("http://jquery.com", function() { console.log("1"); $.get("http://jquery.com", function () { console.log("2"); }); });
XMLHttpRequest
1
2