摘要:
Using $.ajaxSetup is global for all ajax calls. Because the $.get function doesn't have any error callbacks, defining an error handler in $.ajaxSetup is the only way to handle errors. If you use $.ajax, you can define the error handler in the $.ajax call like this$.ajax({ url: "HTMLPage.htm 阅读全文
posted @ 2012-06-18 16:58 剑灵 阅读(507) 评论(0) 推荐(0) 编辑