{"id":3005,"date":"2016-01-14T14:23:53","date_gmt":"2016-01-14T06:23:53","guid":{"rendered":"https:\/\/www.ecjtu.com\/keith\/archives\/3005"},"modified":"2016-01-14T14:23:53","modified_gmt":"2016-01-14T06:23:53","slug":"jquery%e6%80%bb%e7%bb%93%e5%9b%9b%ef%bc%9aajax%e5%92%8c%e5%bb%b6%e8%bf%9f%e5%af%b9%e8%b1%a1","status":"publish","type":"post","link":"https:\/\/www.ecjtu.com\/keith\/archives\/3005","title":{"rendered":"JQuery\u603b\u7ed3\u56db\uff1aAjax\u548c\u5ef6\u8fdf\u5bf9\u8c61"},"content":{"rendered":"<h3 id=\"\u4e00ajax\u65b9\u6cd5\" data-anchor-id=\"715g\">\u4e00\u3001Ajax\u65b9\u6cd5<\/h3>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"1\u53d1\u9001\u8bf7\u6c42\" data-anchor-id=\"pm3y\">1.\u53d1\u9001\u8bf7\u6c42<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"4kjw\">\n<thead>\n<tr>\n<th>Ajax\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.ajax([url],options)<\/td>\n<td>\u4f7f\u7528\u4f20\u5165\u7684options\u53d1\u9001\u4e00\u6b21Ajax\u8bf7\u6c42<\/td>\n<\/tr>\n<tr>\n<td>.load(url,[data],[callback])<\/td>\n<td>\u5411\u4f20\u5165\u7684url\u751f\u6210\u4e00\u6b21Ajax\u8bf7\u6c42\uff0c\u7136\u540e\u5c06\u54cd\u5e94\u653e\u5728\u5339\u914d\u7684\u5143\u7d20\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>$.get(url,[data],[callback],[returnType])<\/td>\n<td>\u5411\u4f20\u5165\u7684url\u53d1\u9001\u4e00\u4e2aget\u8bf7\u6c42<\/td>\n<\/tr>\n<tr>\n<td>$.getJSON(url,[data],[callback])<\/td>\n<td>\u5411\u4f20\u5165\u7684url\u53d1\u9001\u4e00\u4e2aAjax\u8bf7\u6c42\uff0c\u5c06\u54cd\u5e94\u4f5c\u4e3aJSON\u6570\u636e\u7ed3\u6784\u89e3\u6790<\/td>\n<\/tr>\n<tr>\n<td>$.getScript(url,[callback])<\/td>\n<td>\u5411\u4f20\u5165\u7684url\u53d1\u9001\u4e00\u4e2aAjax\u8bf7\u6c42\uff0c\u5c06\u54cd\u5e94\u4f5c\u4e3aJavascript\u89e3\u6790<\/td>\n<\/tr>\n<tr>\n<td>$.post(url,[data],[callback],[returnType])<\/td>\n<td>\u5411\u4f20\u5165\u7684url\u53d1\u9001\u4e00\u4e2apost\u8bf7\u6c42<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"2\u76d1\u89c6\u8bf7\u6c42\" data-anchor-id=\"lhdd\">2.\u76d1\u89c6\u8bf7\u6c42<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"az59\">\n<thead>\n<tr>\n<th>Ajax\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>.ajaxComplete(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u5b8c\u6210\u540e\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>.ajaxError(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u53d1\u751f\u9519\u8bef\u540e\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>.ajaxSend(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u5f00\u59cb\u65f6\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>.ajaxStart(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u5f00\u59cb\u4f46\u6ca1\u6709\u5176\u5b83Ajax\u8bf7\u6c42\u65f6\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>.ajaxStop(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u7ed3\u675f\u4f46\u6ca1\u6709\u5176\u5b83Ajax\u8bf7\u6c42\u65f6\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>.ajaxSuccess(handler)<\/td>\n<td>\u7ed1\u5b9aAjax\u8bf7\u6c42\u6210\u529f\u8fd4\u56de\u54cd\u5e94\u65f6\u8c03\u7528\u7684\u5904\u7406\u7a0b\u5e8f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"3\u914d\u7f6e\" data-anchor-id=\"jk3i\">3.\u914d\u7f6e<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"6okx\">\n<thead>\n<tr>\n<th>Ajax\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.ajaxSetup(options)<\/td>\n<td>\u4e3a\u540e\u7eed\u7684Ajax\u8bf7\u6c42\u8bbe\u7f6e\u9009\u9879<\/td>\n<\/tr>\n<tr>\n<td>$.ajaxPrefilter([dataType],handler)<\/td>\n<td>\u5728$.ajax()\u5904\u7406\u8bf7\u6c42\u4e4b\u524d\uff0c\u4fee\u6539\u6bcf\u4e2a\u8bf7\u6c42\u7684\u9009\u9879<\/td>\n<\/tr>\n<tr>\n<td>$.ajaxTransport(transportFunction)<\/td>\n<td>\u4e3aAjax\u4e8b\u52a1\u5b9a\u4e49\u4e00\u4e2a\u65b0\u7684\u4f20\u8f93\u673a\u5236<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"4\u5b9e\u7528\u65b9\u6cd5\" data-anchor-id=\"lryv\">4.\u5b9e\u7528\u65b9\u6cd5<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"nn4v\">\n<thead>\n<tr>\n<th>Ajax\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>.serialize()<\/td>\n<td>\u5c06\u4e00\u7ec4\u8868\u5355\u63a7\u4ef6\u7684\u503c\u7f16\u7801\u4e3a\u4e00\u4e2a\u67e5\u8be2\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>.serializeArray()<\/td>\n<td>\u5c06\u4e00\u7ec4\u8868\u5355\u63a7\u4ef6\u7684\u503c\u7f16\u7801\u4e3a\u4e00\u4e2aJSON\u6570\u636e\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>$.param(obj)<\/td>\n<td>\u5c06\u4efb\u610f\u503c\u7684\u5bf9\u8c61\u7f16\u7801\u4e3a\u4e00\u4e2a\u67e5\u8be2\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>$.globalEval(code)<\/td>\n<td>\u5728\u5168\u5c40\u4e0a\u4e0b\u6587\u4e2d\u6c42\u503c\u7ed9\u5b9a\u7684Javascipt\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>$.parseJSON(json)<\/td>\n<td>\u5c06JSON\u5bf9\u8c61\u8f6c\u4e3aJavaScript\u5bf9\u8c61<\/td>\n<\/tr>\n<tr>\n<td>$.parseXML(xml)<\/td>\n<td>\u5c06XML\u5b57\u7b26\u4e32\u8f6c\u4e3aXML\u6587\u6863<\/td>\n<\/tr>\n<tr>\n<td>$.parseHTML(html)<\/td>\n<td>\u5c06HTML\u5143\u7d20\u8f6c\u4e3aDOM\u5143\u7d20<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h3 id=\"\u4e8c\u5ef6\u8fdf\u5bf9\u8c61\" data-anchor-id=\"fooe\">\u4e8c\u3001\u5ef6\u8fdf\u5bf9\u8c61<\/h3>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"1\u521b\u5efa\u5bf9\u8c61\" data-anchor-id=\"kls8\">1.\u521b\u5efa\u5bf9\u8c61<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"3uty\">\n<thead>\n<tr>\n<th>\u51fd\u6570<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.Deferred([setupFunction])<\/td>\n<td>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5ef6\u8fdf\u5bf9\u8c61<\/td>\n<\/tr>\n<tr>\n<td>$.when(deferreds)<\/td>\n<td>\u5728\u7ed9\u5b9a\u7684\u5ef6\u8fdf\u5bf9\u8c61\u89e3\u51b3\u4e86\u4e4b\u540e\u8fd4\u56de\u4e00\u4e2a\u5f85\u89e3\u51b3\u7684\u627f\u8bfa\u5bf9\u8c61<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"2\u5ef6\u8fdf\u5bf9\u8c61\u7684\u65b9\u6cd5\" data-anchor-id=\"rdz5\">2.\u5ef6\u8fdf\u5bf9\u8c61\u7684\u65b9\u6cd5<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"bhp4\">\n<thead>\n<tr>\n<th>\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>.resolve([args])<\/td>\n<td>\u89e3\u51b3\u5ef6\u8fdf\u5bf9\u8c61\u5e76\u4f7f\u7528\u7ed9\u5b9a\u7684\u53c2\u6570\u8c03\u7528\u5b8c\u6210\u56de\u8c03\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>.resolveWith(context,[args])<\/td>\n<td>\u89e3\u51b3\u5ef6\u8fdf\u5bf9\u8c61\u5e76\u4f7f\u7528\u7ed9\u5b9a\u7684\u53c2\u6570\u8c03\u7528\u5b8c\u6210\u56de\u8c03\u51fd\u6570,\u540c\u65f6\u8ba9\u5173\u952e\u5b57this\u5f15\u7528\u56de\u8c03\u51fd\u6570\u4e2d\u7684context<\/td>\n<\/tr>\n<tr>\n<td>.reject([args])<\/td>\n<td>\u62d2\u7edd\u5ef6\u8fdf\u5bf9\u8c61\u5e76\u4f7f\u7528\u7ed9\u5b9a\u7684\u53c2\u6570\u8c03\u7528\u5931\u8d25\u56de\u8c03\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>.rejectWith(context,[args])<\/td>\n<td>\u62d2\u7edd\u5ef6\u8fdf\u5bf9\u8c61\u5e76\u4f7f\u7528\u7ed9\u5b9a\u7684\u53c2\u6570\u8c03\u7528\u5931\u8d25\u56de\u8c03\u51fd\u6570,\u540c\u65f6\u8ba9\u5173\u952e\u5b57this\u5f15\u7528\u56de\u8c03\u51fd\u6570\u4e2d\u7684context<\/td>\n<\/tr>\n<tr>\n<td>.notify([args])<\/td>\n<td>\u6267\u884cprogress\u56de\u8c03<\/td>\n<\/tr>\n<tr>\n<td>.notifyWith(context,[args])<\/td>\n<td>\u6267\u884cprogress\u56de\u8c03,\u540c\u65f6\u8ba9\u5173\u952e\u5b57this\u5f15\u7528\u56de\u8c03\u51fd\u6570\u4e2d\u7684context<\/td>\n<\/tr>\n<tr>\n<td>.promise([target])<\/td>\n<td>\u8fd4\u56de\u4e0e\u5f53\u524d\u5ef6\u8fdf\u5bf9\u8c61\u7684\u627f\u8bfa\u5bf9\u8c61<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"3\u627f\u8bfa\u5bf9\u8c61\u7684\u65b9\u6cd5\" data-anchor-id=\"oee7\">3.\u627f\u8bfa\u5bf9\u8c61\u7684\u65b9\u6cd5<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"9qvb\">\n<thead>\n<tr>\n<th>\u65b9\u6cd5<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>.done(callback)<\/td>\n<td>\u5f53\u5bf9\u8c61\u88ab\u89e3\u51b3\u4e4b\u540e\u8c03\u7528callback<\/td>\n<\/tr>\n<tr>\n<td>.fail(callback)<\/td>\n<td>\u5f53\u5bf9\u8c61\u88ab\u62d2\u7edd\u4e4b\u540e\u8c03\u7528callback<\/td>\n<\/tr>\n<tr>\n<td>.always(callback)<\/td>\n<td>\u5f53\u5bf9\u8c61\u88ab\u62d2\u7edd\u6216\u88ab\u89e3\u51b3\u4e4b\u540e\u8c03\u7528callback<\/td>\n<\/tr>\n<tr>\n<td>.then(doneCallbacks,failCallbacks)<\/td>\n<td>\u5f53\u5bf9\u8c61\u88ab\u89e3\u51b3\u4e4b\u540e\u8c03\u7528doneCallbacks,\u5f53\u5bf9\u8c61\u88ab\u62d2\u7edd\u4e4b\u540e\u8c03\u7528failCallbacks<\/td>\n<\/tr>\n<tr>\n<td>.progress(callback)<\/td>\n<td>\u5f53\u5bf9\u8c61\u6bcf\u6b21\u63a5\u5230\u8fdb\u5ea6\u901a\u77e5\u540e\u8c03\u7528callback<\/td>\n<\/tr>\n<tr>\n<td>.isRejected()<\/td>\n<td>\u5982\u679c\u5bf9\u8c61\u88ab\u62d2\u7edd\uff0c\u8fd4\u56detrue<\/td>\n<\/tr>\n<tr>\n<td>.isResolved()<\/td>\n<td>\u5982\u679c\u5bf9\u8c61\u88ab\u89e3\u51b3\uff0c\u8fd4\u56detrue<\/td>\n<\/tr>\n<tr>\n<td>.state()<\/td>\n<td>\u8fd4\u56de\u5f53\u524d\u8fd0\u884c\u72b6\u6001\uff0c\u201dpending\u201d\u3001\u201drejected\u201d\u548c\u201dresolved\u201d<\/td>\n<\/tr>\n<tr>\n<td>.pipe([doneFilter],[failFilter])<\/td>\n<td>\u8fd4\u56de\u65b0\u7684\u627f\u8bfa\u5bf9\u8c61<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h3 id=\"\u4e09\u5176\u5b83\u65b9\u6cd5\" data-anchor-id=\"nx4q\">\u4e09\u3001\u5176\u5b83\u65b9\u6cd5<\/h3>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"1jquery\u5bf9\u8c61\u7684\u5c5e\u6027\" data-anchor-id=\"rs0z\">1.JQuery\u5bf9\u8c61\u7684\u5c5e\u6027<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"hh0k\">\n<thead>\n<tr>\n<th>\u5c5e\u6027<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.support<\/td>\n<td>\u8fd4\u56de\u4e00\u4e2a\u5c5e\u6027\u5bf9\u8c61\uff0c\u8868\u793a\u6d4f\u89c8\u5668\u662f\u5426\u652f\u6301\u5404\u79cd\u7279\u6027\u548c\u6807\u51c6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"2\u6570\u7ec4\u548c\u5bf9\u8c61\" data-anchor-id=\"v3gw\">2.\u6570\u7ec4\u548c\u5bf9\u8c61<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"x2kz\">\n<thead>\n<tr>\n<th>\u51fd\u6570<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.each(collection,callback)<\/td>\n<td>\u8fed\u4ee3\u96c6\u5408\uff0c\u5bf9\u6bcf\u4e00\u9879\u6267\u884ccallback<\/td>\n<\/tr>\n<tr>\n<td>$.extend(target,obj1,obj2,\u2026.)<\/td>\n<td>\u6269\u5c55target\u5bf9\u8c61<\/td>\n<\/tr>\n<tr>\n<td>$.grep(array,callback,[invert])<\/td>\n<td>\u4f7f\u7528callback\u7b5b\u9009\u6570\u7ec4<\/td>\n<\/tr>\n<tr>\n<td>$.makeArray(obj)<\/td>\n<td>\u5c06obj\u5bf9\u8c61\u8f6c\u6362\u4e3a\u6570\u7ec4<\/td>\n<\/tr>\n<tr>\n<td>$.map(array,callback)<\/td>\n<td>\u8fed\u4ee3\u96c6\u5408\uff0c\u5bf9\u6bcf\u4e00\u9879\u6267\u884ccallback\uff0c\u5c06\u8fd4\u56de\u7684\u7ed3\u679c\u4f5c\u4e3a\u4e00\u4e2a\u65b0\u6570\u7ec4\u8fd4\u56de<\/td>\n<\/tr>\n<tr>\n<td>$.inArray(value,array)<\/td>\n<td>\u5224\u65advalue\u662f\u5426\u5728array\u4e2d\uff0c\u4e0d\u5728\u8fd4\u56de-1<\/td>\n<\/tr>\n<tr>\n<td>$.merge(array1,array2)<\/td>\n<td>\u5408\u5e76\u6570\u7ec4array1\u548carray2<\/td>\n<\/tr>\n<tr>\n<td>$.unique(array)<\/td>\n<td>\u4ece\u6570\u7ec4\u4e2d\u79fb\u9664\u91cd\u590d\u7684DOM\u5143\u7d20<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"3\u5bf9\u8c61\u5224\u65ad\" data-anchor-id=\"9xx9\">3.\u5bf9\u8c61\u5224\u65ad<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"a7hp\">\n<thead>\n<tr>\n<th>\u51fd\u6570<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.isArray(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3a\u6570\u7ec4<\/td>\n<\/tr>\n<tr>\n<td>$.isEmptyObject(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3a\u7a7a\u7684<\/td>\n<\/tr>\n<tr>\n<td>$.isFunction(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3a\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>$.isPlainObject(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u662f\u901a\u8fc7\u5b57\u9762\u91cf\u6216new Object()\u521b\u5efa\u7684<\/td>\n<\/tr>\n<tr>\n<td>$.isNumber(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3a\u6570\u503c<\/td>\n<\/tr>\n<tr>\n<td>$.isWindow(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3a\u6d4f\u89c8\u5668\u7a97\u53e3<\/td>\n<\/tr>\n<tr>\n<td>$.isXMLDoc(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u662f\u5426\u4e3aXML\u8282\u70b9<\/td>\n<\/tr>\n<tr>\n<td>$.type(obj)<\/td>\n<td>\u5224\u65ad\u5bf9\u8c61obj\u7684JavaScript\u7c7b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-anchor-id=\"21yx\">\u76f8\u5173\u6587\u7ae0\uff1a<a title=\"\" href=\"http:\/\/segmentfault.com\/a\/1190000002962215\" target=\"_blank\" data-original-title=\"\">javascript\u4e2d\u5bf9\u53d8\u91cf\u7c7b\u578b\u7684\u5224\u65ad<\/a><\/p>\n<div class=\"md-section-divider\"><\/div>\n<h4 id=\"4\u5176\u4ed6\" data-anchor-id=\"dvjr\">4.\u5176\u4ed6<\/h4>\n<table class=\"table table-striped-white table-bordered\" data-anchor-id=\"c17c\">\n<thead>\n<tr>\n<th>\u51fd\u6570<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$.trim(string)<\/td>\n<td>\u79fb\u9664\u5b57\u7b26\u4e32\u7684\u524d\u540e\u7a7a\u767d\u7b26<\/td>\n<\/tr>\n<tr>\n<td>$.noConflict([removeAll])<\/td>\n<td>\u5411\u5176\u5b83\u5e93\u8fc7\u6e21$\u6807\u8bc6\u7b26<\/td>\n<\/tr>\n<tr>\n<td>$.noop()<\/td>\n<td>\u4ec0\u4e48\u4e5f\u4e0d\u505a\u7684\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>$.now()<\/td>\n<td>\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff0c\u8fd4\u56de\u5f53\u524d\u65f6\u95f4<\/td>\n<\/tr>\n<tr>\n<td>$.holdReay(hold)<\/td>\n<td>\u9632\u6b62\u89e6\u53d1ready\u4e8b\u4ef6\u6216\u91ca\u653e\u5f53\u524d\u7684\u4fdd\u7559<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-anchor-id=\"74bg\">\u76f8\u5173\u6587\u7ae0\uff1a<a title=\"\" href=\"http:\/\/segmentfault.com\/a\/1190000002943915\" target=\"_blank\" data-original-title=\"\">\u5982\u4f55\u63a7\u5236jquery\u7684ready\u4e8b\u4ef6<\/a><\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a title=\"\" href=\"http:\/\/www.ido321.com\/\" data-original-title=\"\">\u6de1\u5fd8~\u6d45\u601d<\/a> \u00bb <a title=\"\" href=\"http:\/\/www.ido321.com\/1626.html\" data-original-title=\"\">JQuery\u603b\u7ed3\u56db\uff1aAjax\u548c\u5ef6\u8fdf\u5bf9\u8c61<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001Ajax\u65b9\u6cd5 1.\u53d1\u9001\u8bf7\u6c42 Ajax\u65b9\u6cd5 \u8bf4\u660e $.ajax([url],options) \u4f7f\u7528\u4f20\u5165\u7684op [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[67,923],"_links":{"self":[{"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/posts\/3005"}],"collection":[{"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/comments?post=3005"}],"version-history":[{"count":1,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/posts\/3005\/revisions"}],"predecessor-version":[{"id":3006,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/posts\/3005\/revisions\/3006"}],"wp:attachment":[{"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/media?parent=3005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/categories?post=3005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecjtu.com\/keith\/wp-json\/wp\/v2\/tags?post=3005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}