1 $.ajax({
 2     url: path + '/emergency/saveEmergency.do',
 3     async: false,//同步,会阻塞操作
 4     type: 'POST',//PUT DELETE POST
 5     data: $("#saveform").serialize(),
 6     success: function (result) {
 7 //                    console.log(result);
 8         if (result) {
 9             window.location.reload();
10         }
11     }, error: function(msg) {
12         for(var info in msg)
13             console.log(info + " = " + msg[info]);
14     }
15 })

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-22
  • 2021-10-24
  • 2022-12-23
  • 2021-11-22
  • 2021-11-06
  • 2021-07-06
相关资源
相似解决方案