{"id":233965,"date":"2014-08-20T10:46:03","date_gmt":"2014-08-20T06:46:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=233965"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=233965","title":{"rendered":"<span class=\"post_title\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 AJAX-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 post \u0438 get \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u043e \u0445\u043e\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0430\u0439\u0442\u0430. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0430 jQuery, \u0433\u0434\u0435 \u043d\u0435 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043a-\u0441\u0442\u0443\u0447\u0430\u043b\u043a\u0430, \u0430 \u043a\u0443\u0447\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0442\u0435\u0445-\u0436\u0435 \u0441\u0430\u043c\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430\u0445: \u043a\u043e\u0440\u0437\u0438\u043d\u0430, \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435, \u0444\u0438\u043b\u044c\u0442\u0440. \u0414\u0430 \u0447\u0442\u043e \u044f \u0440\u0430\u0441\u043f\u044b\u043b\u044f\u044e\u0441\u044c. \u0412\u0441\u0435 \u0438 \u0442\u0430\u043a \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. <\/p>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u043e\u043d\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u043d\u0430 JQ\u2026 \u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c. \u0412\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0442\u0440\u0430\u0442\u044f\u0442\u0441\u044f \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0438 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. <\/p>\n<p>  \u0421\u0442\u043e\u043b\u043a\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u0441 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0432 105 \u0440\u0430\u0437, \u0440\u0435\u0448\u0438\u043b \u2014 \u0445\u0432\u0430\u0442\u0438\u0442. \u041f\u043e\u0440\u0430 \u0447\u0442\u043e-\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c. \u0418 \u043f\u043e\u043c\u0435\u043d\u044f\u043b.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421\u0443\u0442\u044c \u043f\u0440\u0438\u0451\u043c\u0430 \u0442\u0430\u043a\u0430\u044f:<br \/>  \u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c. \u041e\u043d \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0440\u043e\u0443\u0442\u0438\u0442 \u0438\u0445 \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043e\u043b\u0433\u043e, \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0438 \u043a\u043e\u043b\u043b\u0431\u044d\u043a \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e ( \u0441\u043c. \u0444\u0443\u043d\u043a\u0446\u0438\u044e retJSON) \u0438\u0437 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 CLBK. <br \/>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\/\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430. \u0412 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b JS-\u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435. <\/p>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043c\u043d\u0435:<br \/>  1. \u0418\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0442\u0443\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432.<br \/>  2. \u0425\u043e\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u0434 \u0432 \u043f\u043e\u0440\u044f\u0434\u043e\u043a, \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u043e\u0433\u043e JQ-\u0431\u0435\u0434\u043b\u0430\u043c\u0430.<br \/>  3. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043a\u043e\u0434\u0430 \u0438 \u0434\u0430\u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. <br \/>  4. \u041f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u043a\u043e\u0434\u0430. \u0411\u0443\u0434\u0443\u0447\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u043d\u044b\u043c (\u00ab\u0413\u043e\u0441\u043f\u043e\u0434\u0438 \u0418\u0438\u0441\u0443\u0441\u0435!\u00bb, \u2014 \u0432\u043e\u0437\u043e\u043f\u044f\u0442 \u0437\u043d\u0430\u0442\u043e\u043a\u0438 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430. \u2014 \u00ab\u0442\u044b \u0436\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0448\u044c \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u0430\u043a\u0430\u044f \u0442\u0443\u0442 \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u0430.\u00bb \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0433\u0434\u0435-\u0442\u043e \u043d\u0435\u0434\u043e\u0447\u0438\u0442\u0430\u043b \u043c\u0430\u0442\u0447\u0430\u0441\u0442\u044c, \u043d\u043e \u043f\u043b\u0435\u0432\u0430\u0442\u044c \u044f \u0445\u043e\u0442\u0435\u043b \u043d\u0430 \u0438\u0445\u043d\u0435\u0435 \u043c\u043d\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e. \u041c\u043d\u0435 \u0442\u0430\u043a \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e ) \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0442\u0430\u043b \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u043e \u043b\u044e\u0434\u044f\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0441\u043b\u0435 \u043c\u0435\u043d\u044f \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u043c\u043e\u0438\u0445 \u0441\u0442\u0440\u043e\u0447\u043a\u0430\u0445. \u041f\u043e\u0441\u0435\u043c\u0443 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043f\u0430\u0440\u0443 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0430\u0441\u043e\u0432. <\/p>\n<p>  \u0418\u043c\u0445\u043e, \u0434\u0430\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437 \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0432\u043e\u0441\u0441\u043e\u0437\u0434\u0430\u043d\u043e \u0432\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0442\u043e\u043b\u043a\u0430 \u0438 \u0441\u043e\u0440\u0442\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0451 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0418 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c.<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.<\/p>\n<pre><code class=\"javascript\">var JQ = $; var Core = {          rmvFrmBskt: function(id){ \t \t\tthis.request(arguments.callee,{ID:id},function(data){ \t\t\t \t\t\tif(data.status === &quot;OK&quot;) \t\t\t\tCore.getBskt(); \t\t}) \t},  \trequest:function(method,params,callback_fnc){ \t\t \t\tif(\t \t\t\t( \t\t\t\ttypeof method !== 'string'&& \t\t\t\ttypeof method !== &quot;function&quot; \t\t\t)|| \t\t\ttypeof params !== &quot;object&quot;|| \t\t\tparams === null \t\t) \t\tthrow &quot;Core.request::Arguments isn't valid&quot;; \t\t \t\tif(typeof method !== 'string') \t\t\tmethod = Hlp.getMthName(this,method); \t\t \t\tif(method==='') throw &quot;Core.request:: method is hollow&quot;; \t\tJQ.post(&quot;\/callback.php&quot;,{&quot;method&quot;:method,&quot;params&quot;:params},function(data,callback){ \t\t \t\t\ttry{var JSONobj = JSON.parse(data)} \t\t\tcatch(e){ \t\t\t\tthrow(e); \t\t\t} \t\t\tif(JSONobj.error){ \t\t\t\tthrow &quot;Core.request:: &quot; + JSONobj.error; \t\t\t} \t\t\t \t\t\tif(JSONobj.notify_text){ \t\t\t\t \t\t\t\talert(JSONobj.notify_text); \t\t\t\tthrow &quot;Core.request:: &quot; + JSONobj.notify_text; \t\t\t} \t\t\t \t\t\tif(JSONobj.echo){ \t\t\t\tif(Util.bid(&quot;debugdiv&quot;)) \t\t\t\tUtil.rmv(Util.bid(&quot;debugdiv&quot;)); \t\t\t\tvar dbg = Util.crt(&quot;div&quot;,&quot;debugdiv&quot;); \t\t\t\tbody.appendChild(dbg); \t\t\t\tdbg.innerHTML = JSONobj.echo; \t\t\t} \t\t\tcallback_fnc(JSONobj); \t\t}); \t}   var Hlp = {      getMthName:function(obj,mth) { \t\tvar mthName = '';         for (var i in obj) { \t\t\tif(obj[i]===mth){ \t\t\t\tmthName =  i; \t\t\t\tbreak; \t\t\t} \t\t}; \t\treturn mthName;     } }   var Util = { \tbid: function(id){ \t\tif(!!id){ \t\t\treturn document.getElementById(id); \t\t} \t}, \trmv: function(Node){ \t\tNode.parentNode.removeChild(Node, Node.parentNode); \t}, \trmvAllCh: function(Node){ \t\tvar cnt = Node.children.length; \t\t \t\tfor(var k = 0; k &lt; cnt; k++){ \t\t \t\t\tUtil.rmv(Node.children[0]); \t\t} \t}, \tbc: function(className){ \t \t\tvar Node = document.getElementsByClassName(className); \t\t \t\tif(Node.length==1){ \t\t\t \t\t\treturn Node[0]; \t\t}else{ \t\t\treturn Node; \t\t} \t}, \tcrt: function(Node, className, attr){ \t\tvar tmp = document.createElement(Node);  \t\tif((typeof className === 'string')&&(className!='')){ \t\t \t\t\ttmp.className = className; \t\t} \t\t \t\tif(typeof attr === 'object'&&attr != null){ \t\t\tfor(var i in attr){ \t\t\t \t\t\t\ttmp[i] = attr[i]; \t\t\t} \t\t} \t\treturn tmp; \t}  } <\/code><\/pre>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e PHP  <\/p>\n<pre><code class=\"php\">class CallBack{ \t \tpublic static $CLBK = Array(); \t \tstatic function router(){ \t\t \t\tif(\t!CModule::IncludeModule(&quot;catalog&quot;)|| \t\t\t!CModule::IncludeModule(&quot;sale&quot;)|| \t\t\t!CModule::IncludeModule(&quot;iblock&quot;)){ \t\t\t \t\t\t\tCallBack::retJson(Array(&quot;error&quot;=&gt;&quot;PHP CModule isn't included&quot;)); \t\t\t\tdie(); \t\t\t} \t \t\tif(isset($_REQUEST)&&!empty($_REQUEST)&&method_exists(&quot;CallBack&quot;, $_REQUEST['method'].&quot;Clbk&quot;)){ \t\t \t\t\t$methodName = $_REQUEST['method'].&quot;Clbk&quot;; \t\t\tCallBack::$methodName($_REQUEST['params']); \t\t}else{ \t\t\tCallBack::retJson(Array(&quot;error&quot;=&gt;&quot;PHP Callback.router::invalid arguments&quot;)); \t\t} \t} \t \tstatic function retJson(){ \t \t\tif(!is_array(self::$CLBK)) die(); \t\t \t\techo json_encode(self::$CLBK); \t}  public function rmvFrmBsktClbk($PARAMS){ \t \t\tCSaleBasket::Delete((int)$PARAMS['ID']); \t\tself::$CLBK['status'] = &quot;OK&quot;; \t} }   CallBack::router(); CallBack::retJson(); <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0437\u043d\u0430\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u044b, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0434\u043b\u044f 1\u0421-\u0411\u0438\u0442\u0440\u0438\u043a\u0441. \u0414\u0430, \u0437\u043d\u0430\u044e, \u0433\u0434\u0435-\u0442\u043e \u0442\u0430\u043c \u0432 \u0434\u0435\u0431\u0440\u044f\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 AJAX-\u0443\u0442\u0438\u043b\u0438\u0442\u0430\u0445 \u0411\u0438\u0442\u0440\u0438\u043a\u0441\u0430. \u041d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0438 \u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u044d\u0442\u043e \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0445\u0435\u043b\u043b\u043e \u0432\u043e\u0440\u043b\u0434. \u041a\u0430\u0436\u0434\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0438\u0431\u043e \u0442\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/233965\/\"> http:\/\/habrahabr.ru\/post\/233965\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 post \u0438 get \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u043e \u0445\u043e\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0430\u0439\u0442\u0430. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0430 jQuery, \u0433\u0434\u0435 \u043d\u0435 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043a-\u0441\u0442\u0443\u0447\u0430\u043b\u043a\u0430, \u0430 \u043a\u0443\u0447\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0442\u0435\u0445-\u0436\u0435 \u0441\u0430\u043c\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430\u0445: \u043a\u043e\u0440\u0437\u0438\u043d\u0430, \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435, \u0444\u0438\u043b\u044c\u0442\u0440. \u0414\u0430 \u0447\u0442\u043e \u044f \u0440\u0430\u0441\u043f\u044b\u043b\u044f\u044e\u0441\u044c. \u0412\u0441\u0435 \u0438 \u0442\u0430\u043a \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. <\/p>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u043e\u043d\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u043d\u0430 JQ\u2026 \u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c. \u0412\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0442\u0440\u0430\u0442\u044f\u0442\u0441\u044f \u0434\u0440\u0430\u0433\u043e\u0446\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0438 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. <\/p>\n<p>  \u0421\u0442\u043e\u043b\u043a\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u0441 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0432 105 \u0440\u0430\u0437, \u0440\u0435\u0448\u0438\u043b \u2014 \u0445\u0432\u0430\u0442\u0438\u0442. \u041f\u043e\u0440\u0430 \u0447\u0442\u043e-\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c. \u0418 \u043f\u043e\u043c\u0435\u043d\u044f\u043b.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-233965","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233965"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233965\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}