{"id":164677,"date":"2013-01-06T00:56:03","date_gmt":"2013-01-05T20:56:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=164677"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=164677","title":{"rendered":"<span class=\"post_title\">jQuery \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u2014 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0441 DOM<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041a\u0430\u043d\u0438\u043a\u0443\u043b\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442\u0441\u044f \u0438 \u043c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u044d\u0442\u0438\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u043d\u0438\u0439, \u0443\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u044b\u0445.<\/p>\n<p>  \u0414\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u0436\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 \u2014 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044e \u0441 DOM. \u0418 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u0442\u0435\u043c\u0443, \u043d\u043e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u0442\u043e\u043f\u0438\u043a\u0443 \u0443\u0436\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u043b\u0438 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0435\u043c\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0442\u044f\u043d\u0443\u0442\u044c \u0438 \u043d\u0430\u0447\u043d\u0435\u043c \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u043d\u0435\u0435. \u0417\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0443 \u0442\u0435\u0445, \u043a\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u043b \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0430\u0442\u044c\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u044f \u043f\u043e \u043e\u0448\u0438\u0431\u043a\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0441\u0435\u0440\u0438\u044e \u043a\u043e\u043f\u0430\u043d\u0438\u0439 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u0445 jQuery \u043f\u043e\u0434 \u043d\u043e\u043c\u0435\u0440\u043e\u043c 1.8.3 (\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438). \u041e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e jQuery \u043c\u044b <a href=\"http:\/\/habrahabr.ru\/post\/164433\/\" rel=\"first\" title=\"jQuery \u0438\u0437\u043d\u0443\u0442\u0440\u0438, \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435\">\u0443\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438<\/a>, \u043f\u0430\u0440\u0441\u0438\u0442\u044c html \u2014 <a href=\"http:\/\/habrahabr.ru\/post\/164533\/\" rel=\"prev\" title=\"jQuery \u0438\u0437\u043d\u0443\u0442\u0440\u0438, \u043f\u0430\u0440\u0441\u0438\u043c html\">\u0442\u043e\u0436\u0435<\/a>. \u041f\u043e\u0440\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u043b\u0438 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 DOM \u0438\u0434\u0443\u0442 \u0432 jQuery \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u043b\u0438\u043a\u0443\u044e \u0438 \u0443\u0436\u0430\u0441\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L299\">domManip<\/a>.<\/p>\n<h4>domManip<\/h4>\n<p>  \u0426\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 callback \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0435\u0449\u0435 \u043a\u0443\u0447\u0443 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p>  \u0414\u0430\u0431\u044b \u043d\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e domManip \u0431\u0435\u0437\u0441\u0432\u044f\u0437\u043d\u043e, \u0432\u043e\u0442 <u>\u0432\u0435\u0441\u044c<\/u> \u043a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L128\">append<\/a>:  <\/p>\n<pre><code class=\"javascript\">\tappend: function() { \t\treturn this.domManip(arguments, true, function( elem ) { \t\t\tif ( this.nodeType === 1 || this.nodeType === 11 ) { \t\t\t\tthis.appendChild( elem ); \t\t\t} \t\t}); \t},<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u043a\u0440\u0430\u0442\u043a\u0438\u043c, \u0442\u043e \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 (\u0435\u0441\u043b\u0438 \u043e\u043d \u2014 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <code>ELEMENT_NODE<\/code> \u0438\u043b\u0438 <code>DOCUMENT_FRAGMENT_NODE<\/code>) \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c jQuery-\u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <code>appendChild<\/code> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043a \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<p>  \u0412\u043d\u0443\u0442\u0440\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L326\">\u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442<\/a> (\u0437\u043d\u0430\u043a\u043e\u043c\u0430\u043c\u0438 \u043d\u0430\u043c \u043f\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L487\">buildFragment<\/a> \u0438 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L640\">clean<\/a>), \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u043d\u0443\u0442\u0440\u0438 <code>clean<\/code> \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441\u0431\u043e\u0440 \u0432\u0441\u0435\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 <b>\u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0443\u0442<\/b>, \u0430 \u0432\u0435\u0440\u043d\u0443\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435.<\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432 \u043d\u0430\u0448\u0435\u043c jQuery-\u043e\u0431\u044a\u0435\u043a\u0442\u0435 \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L341\">\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 callback<\/a>, \u043d\u0430 \u0432\u0445\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u0430\u043d \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/p>\n<h5>\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/h5>\n<p>  <code>domManip<\/code> (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u0435\u0433\u043e) \u0443\u043c\u0435\u044e\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0432\u0445\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432 jQuery-\u043e\u0431\u044a\u0435\u043a\u0442\u0435 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L318\">\u0432\u044b\u0437\u0432\u0430\u043d\u0430<\/a> \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0432 \u043d\u0435\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c.<\/p>\n<p>  \u0411\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0441\u0442\u0443\u0434\u0438\u044e:  <\/p>\n<pre><code class=\"html\">&lt;span class=&quot;user&quot; data-id=&quot;15&quot;&gt;\u0418\u0433\u043e\u0440\u044c&lt;\/span&gt; &lt;span class=&quot;user&quot; data-id=&quot;10&quot;&gt;\u0414\u0430\u0440\u044c\u044f&lt;\/span&gt;  &lt;script src=&quot;http:\/\/code.jquery.com\/jquery-1.8.3.js&quot;&gt;&lt;\/script&gt; &lt;script&gt;     $('span.user').prepend( function(idx, html) {         \/\/ \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u0435\u0433\u0430,         \/\/ \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f         console.log(idx, html);          \/\/ \u043e $.data \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435         return $(this).data('id') + ': ';     } ); &lt;\/script&gt;<\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e <code>span<\/code> \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u00abuser\u00bb \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0430\u044f \u043d\u043e\u0434\u0430, \u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<h5>\u0421\u043a\u0440\u0438\u043f\u0442\u044b<\/h5>\n<p>  \u0427\u0442\u043e \u0436\u0435 \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u0438\u0445 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e? <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L356\">\u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442<\/a> \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d (\u0435\u0441\u043b\u0438 \u044d\u0442\u043e <code>script<\/code> \u0441 \u0442\u0435\u0433\u043e\u043c <code>src<\/code>) \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u043e\u0431\u044b\u0447\u043d\u044b\u043c <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/core.js#L550\">eval<\/a>. \u0412 DOM \u0442\u0430\u043a\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0443\u0442.<\/p>\n<pre><code class=\"javascript\">$('&lt;div&gt;').append('&lt;script&gt;alert(1);&lt;\/script&gt;')<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u0442\u043e\u043f\u0438\u043a\u0443 (\u0441\u043f\u0430\u0441\u0438\u0431\u043e <a href=\"http:\/\/habrahabr.ru\/users\/alisey\/\" class=\"user_link\">alisey<\/a>). \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 <code>div<\/code> \u0432\u0438\u0441\u0438\u0442 \u0432 \u0432\u043e\u0437\u0434\u0443\u0445\u0435 \u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 \u0435\u0433\u043e \u043d\u0435\u0442, \u043e\u0434\u043d\u0430\u043a\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <b>\u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d<\/b>.<\/p>\n<p>  \u0422\u0443\u0442 \u0436\u0435 \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0434\u0432\u043e\u0445 \u0441\u043e \u0432\u0441\u0442\u0430\u0432\u043a\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0441 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c <code>src<\/code>. \u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441 <a href=\"http:\/\/api.jquery.com\/jQuery.getScript\/\">jQuery.getScript<\/a> \u0438 <a href=\"http:\/\/api.jquery.com\/jQuery.ajax\/\">jQuery.ajax<\/a> \u0441 \u0442\u0438\u043f\u043e\u043c <code>script<\/code> (\u0432\u0441\u0435 \u044d\u0442\u043e \u2014 \u0430\u043d\u0430\u043b\u043e\u0433\u0438). \u041f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e jQuery \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043a \u0443\u0440\u043b\u0443 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0441 \u0442\u0435\u043a\u0443\u0449\u0438\u043c unix-timestamp. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0437\u0430\u0445\u043e\u0447\u0435\u0442 \u0437\u0430\u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432), \u0442\u043e \u0437\u0430\u043a\u0435\u0448\u0438\u0440\u0443\u0435\u0442 \u0435\u0433\u043e \u043f\u043e \u0443\u0440\u043b\u0443, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 timestamp, \u0447\u0442\u043e \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 (\u0441\u043a\u043e\u0440\u0435\u0435 \u0434\u0430\u0436\u0435 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435) \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u2014 \u043d\u0435 \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434 \u2014 <b>\u043f\u043b\u043e\u0445\u043e\u0439, \u043d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a<\/b>:  <\/p>\n<pre><code class=\"javascript\">$('&lt;script&gt;', {      'src': 'http:\/\/code.jquery.com\/jquery-1.8.3.min.js' } ).appendTo(document.body);<\/code><\/pre>\n<p>  \u0410 \u0432\u043e\u0442 \u0442\u0430\u043a \u2014 \u043c\u043e\u0436\u043d\u043e, \u0434\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 Javascript:  <\/p>\n<pre><code class=\"javascript\">var     scriptElement = document.createElement('script');  scriptElement.setAttribute('src', 'http:\/\/code.jquery.com\/jquery-1.8.3.min.js');  document.body.appendChild(scriptElement);<\/code><\/pre>\n<p>  <\/p>\n<h4>jQuery.empty \u0438 jQuery.remove<\/h4>\n<p>  \u042d\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043c\u0438\u043c\u043e <code>domManip<\/code> \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u0434\u0435\u0440\u0435\u0432\u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L203\">removeChild<\/a>. <code>jQuery.empty<\/code> \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0432\u0441\u0435 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0436\u0435\u0440\u0442\u0432\u044b, \u0430 <code>jQuery.remove<\/code> \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u043d\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u043f\u043e\u0434 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 \u043a \u0432\u044b\u0437\u043e\u0432\u0443 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041e\u0431\u0430 \u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u043e\u043a\u0430 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0443\u044e \u043d\u0430\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L774\">cleanData<\/a>, \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u0437\u0430\u0442\u0440\u043e\u043d\u0435\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438.<\/p>\n<h4>jQuery.html<\/h4>\n<p>  \u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430, <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L226\">\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442<\/a> \u043d\u0430\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0442\u0435\u0433\u0430, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <code>innerHTML<\/code>, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u044b \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b jQuery.<\/p>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u0432\u043e \u0432\u0441\u0435 \u043d\u043e\u0434\u044b \u043d\u0430\u0448\u0435\u0433\u043e jQuery-\u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L232\">\u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432<\/a> \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code>innerHTML<\/code> <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L245\">\u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e<\/a>, \u0438\u043d\u0430\u0447\u0435 \u2014 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0447\u0438\u0441\u0442\u0438\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0442\u0435\u0433\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>empty<\/code>, \u0430 \u0437\u0430\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0432 \u043d\u0435\u0433\u043e \u043a\u043e\u0434 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>append<\/code>.<\/p>\n<h4>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u043b\u0438\u0430\u0441\u043e\u0432 \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a<\/h4>\n<p>  <a href=\"http:\/\/api.jquery.com\/appendTo\/\">appendTo<\/a>, <a href=\"http:\/\/api.jquery.com\/prependTo\/\">prependTo<\/a>, <a href=\"http:\/\/api.jquery.com\/insertBefore\/\">insertBefore<\/a>, <a href=\"http:\/\/api.jquery.com\/insertAfter\/\">insertAfter<\/a>, <a href=\"http:\/\/api.jquery.com\/replaceAll\/\">replaceAll<\/a>. \u0427\u0442\u043e \u043e\u0431\u0449\u0435\u0433\u043e \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438? \u041e\u043d\u0438, \u043f\u043e \u0441\u0443\u0442\u0438, <a href=\"https:\/\/github.com\/jquery\/jquery\/blob\/1.8.3\/src\/manipulation.js#L530\">\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0430\u043b\u0438\u0430\u0441\u0430\u043c\u0438<\/a> \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u044e\u0442 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u0442\u043e, \u043a \u0447\u0435\u043c\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0441 \u0435\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c. \u0413\u043e\u0432\u043e\u0440\u044f \u043f\u0440\u043e\u0449\u0435, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<pre><code class=\"javascript\">$('&lt;span&gt;').appendTo(document.body) =&gt; $(document.body).append('&lt;span&gt;') $('span.user').insertAfter('span:first') =&gt; $('span:first').after('span.user')<\/code><\/pre>\n<p>  <\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0421\u0443\u043c\u0431\u0443\u0440\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043a\u0430\u043a-\u0442\u043e, \u0434\u0430? \u042f \u043c\u043e\u0433 \u0447\u0442\u043e-\u0442\u043e \u0443\u043f\u0443\u0441\u0442\u0438\u0442\u044c. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0438\u0448\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0435\u0441\u043b\u0438 \u044f \u0447\u0442\u043e-\u0442\u043e \u0443\u043f\u0443\u0441\u0442\u0438\u043b \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043d\u0430\u0432\u0440\u0430\u043b.<\/p>\n<p>  \u041f\u0438\u0448\u0438\u0442\u0435 \u043a\u043e\u0434 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435!<\/p>\n<h4>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 \u0441\u0442\u0430\u0442\u0435\u0439<\/h4>\n<p>  1. <a href=\"http:\/\/habrahabr.ru\/post\/164433\/\" rel=\"first\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/a><br \/>  2. <a href=\"http:\/\/habrahabr.ru\/post\/164533\/\" rel=\"prev\">\u041f\u0430\u0440\u0441\u0438\u043d\u0433 html<\/a><br \/>  3. \u041c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0441 DOM    \t \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\/164677\/\"> http:\/\/habrahabr.ru\/post\/164677\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041a\u0430\u043d\u0438\u043a\u0443\u043b\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442\u0441\u044f \u0438 \u043c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u044d\u0442\u0438\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u043d\u0438\u0439, \u0443\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u044b\u0445.<\/p>\n<p>  \u0414\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u0436\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 \u2014 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044e \u0441 DOM. \u0418 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u0442\u0435\u043c\u0443, \u043d\u043e \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u0442\u043e\u043f\u0438\u043a\u0443 \u0443\u0436\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u043b\u0438 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0434\u043d\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0435\u043c\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0442\u044f\u043d\u0443\u0442\u044c \u0438 \u043d\u0430\u0447\u043d\u0435\u043c \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u043d\u0435\u0435. \u0417\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0443 \u0442\u0435\u0445, \u043a\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u043b \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0430\u0442\u044c\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u044f \u043f\u043e \u043e\u0448\u0438\u0431\u043a\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0441\u0435\u0440\u0438\u044e \u043a\u043e\u043f\u0430\u043d\u0438\u0439 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u0445 jQuery \u043f\u043e\u0434 \u043d\u043e\u043c\u0435\u0440\u043e\u043c 1.8.3 (\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438). \u041e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e jQuery \u043c\u044b <a href=\"http:\/\/habrahabr.ru\/post\/164433\/\" rel=\"first\" title=\"jQuery \u0438\u0437\u043d\u0443\u0442\u0440\u0438, \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435\">\u0443\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438<\/a>, \u043f\u0430\u0440\u0441\u0438\u0442\u044c html \u2014 <a href=\"http:\/\/habrahabr.ru\/post\/164533\/\" rel=\"prev\" title=\"jQuery \u0438\u0437\u043d\u0443\u0442\u0440\u0438, \u043f\u0430\u0440\u0441\u0438\u043c html\">\u0442\u043e\u0436\u0435<\/a>. \u041f\u043e\u0440\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u043b\u0438 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c.  <\/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-164677","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/164677","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=164677"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/164677\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}