url = "/plus/API/";
      try {
          // 此处是可能产生例外的语句
        } catch(error) {
          // 此处是负责例外处理的语句
        } finally {
          // 此处是出口语句
        }

   postData = {k:2}; $.post(url, postData, function(result) { console.log(result);
         try {
           var str = JSON.parse(result);
         } catch(error) {
         }
           );
        }
   });

  

相关文章:

  • 2022-12-23
  • 2021-06-02
  • 2021-07-05
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2022-03-04
  • 2021-08-20
  • 2022-02-03
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案