<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title></title>
</head>

<body>
<script src="./jquery.min.js"></script>
<script>
var ajax6 = $.ajax({
url: './res1.php',
type: "post",
success: function(paramResponse) {
//console.log(paramResponse);
alert(paramResponse);
}
});

var ajax7 = $.ajax({
url: './res2.php',
type: "post",
success: function(paramResponse) {
alert(paramResponse);
}
});

$.when(ajax6, ajax7).done(function() {
//所做操作
alert("sss");
});
</script>
</body>

</html>

相关文章:

  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2021-08-14
  • 2021-09-25
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-11-14
  • 2022-01-31
  • 2021-11-26
相关资源
相似解决方案