jQuery中Ajax的属性设置

1.全局设置为同步

$.ajaxSetup({
   async: false
});
原文地址:https://www.cnblogs.com/ant-jmf17/p/7079353.html