2012年6月18日

摘要: 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 剑灵 阅读(505) 评论(0) 推荐(0) 编辑


Copyright © 2024 剑灵
Powered by .NET 8.0 on Kubernetes