1$(document).ready(function(){ 2 $(document).on('click', '.moreButton__button', function(){ 3 var targetContainer = $('.jsContent'), // ÐонÑейнеÑ, в коÑоÑом Ñ ÑанÑÑÑÑ ÑлеменÑÑ 4 url = $(this).attr('href'); // URL, из коÑоÑого бÑдем бÑаÑÑ ÑлеменÑÑ 5 6 if (url !== undefined) { 7 $.ajax({ 8 type: 'GET', 9 url: url, 10 dataType: 'html', 11 success: function(data){ 12 // УдалÑем ÑÑаÑÑÑ Ð½Ð°Ð²Ð¸Ð³Ð°ÑÐ¸Ñ 13 var moreButton = $('.moreButton'), 14 elements = $(data).find('.jsItem'), // ÐÑем ÑлеменÑÑ 15 pagination = $(data).find('.moreButton');// ÐÑем навигаÑÐ¸Ñ 16 17 targetContainer.append(elements); // ÐобавлÑем поÑÑÑ Ð² ÐºÐ¾Ð½ÐµÑ ÐºÐ¾Ð½ÑейнеÑа 18 pagination.insertAfter(moreButton); // добавлÑем навигаÑÐ¸Ñ Ñледом 19 moreButton.remove(); 20 } 21 }) 22 } 23 24 return false; 25 }); 26});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.