1$(document).ready(function () { 2 3 $(document).on('click', '.js-equipment-more', function(){ 4 $(this).closest('.equipment__all-btn').siblings('.equipment__row').toggleClass('active'); 5 $(this).toggleClass('active'); 6 return false; 7 }) 8 9 $(document).on('input', '.keyUp', function () { 10 if($(this).val() != ""){ 11 $(this).addClass('not-empty') 12 }else{ 13 $(this).removeClass('not-empty') 14 } 15 }) 16 17 $(document).on('click', '.js-price-more', function(){ 18 $(this).closest('.dir-price__all-btn').siblings('.items').toggleClass('active'); 19 $(this).toggleClass('active'); 20 return false; 21 }) 22 23 $(document).on('click', '.js-q-a-more', function(){ 24 $(this).closest('.q-a__more-btn').siblings('.q-a__list').toggleClass('active'); 25 $(this).toggleClass('active'); 26 return false; 27 }) 28}) 29$(document).ready(function(){ 30 $(document).on('click', '.load_more', function(){ 31 var targetContainer = $('.news-list'), 32 url = $('.load_more').attr('data-url'); 33 if (url !== undefined) { 34 $.ajax({ 35 type: 'GET', 36 url: url, 37 dataType: 'html', 38 success: function(data){ 39 $('.load_more').remove(); 40 var elements = $(data).find('.news-list__col'), 41 pagination = $(data).find('.load_more'); 42 targetContainer.append(elements); 43 targetContainer.after(pagination); 44 } 45 }) 46 } 47 }); 48}); 49 50$(document).ready(function(){ 51 $('.send_btn').click(function(){ 52 $.getJSON('/ajax/ajax_newsletter.php', { 53 email:$('input[name="email"]').val() 54 }, function(data){ 55 if (data.status=='ok'){ 56 $(".newsletter__sub").html( "СпаÑибо!" ); 57 $(".newsletter__wrap").html( "<p class='sub'>ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ°Ð½Ñ Ð½Ð° ÑаÑÑÑÐ»ÐºÑ Ð®ÐÐÐÐ ÐÐÐÐÐÐ!</p>" ); 58 $(".newsletter__agree").remove(); 59 $(".error_span").remove(); 60 } else { 61 $("#email").addClass( "error-form" ); 62 $(".newsletter__wrap").after("<span class='error_span'>ÐдÑÐµÑ Ð²Ð²ÐµÐ´ÐµÐ½ невеÑно. ÐопÑобÑйÑе еÑе Ñаз</span>"); 63 } 64 }); 65 }); 66}); 67 68$(document).ready(function(){ 69 $('.send_btn_detail').click(function(){ 70 $.getJSON('/ajax/ajax_newsletter_detail.php', { 71 email:$('input[name="email"]').val() 72 }, function(data){ 73 if (data.status=='ok'){ 74 $(".newsletter__col").addClass( "center-mode" ); 75 $(".newsletter__sub").before( "<div class='result_newsletter'><img src='/_images/_ico/success_news.svg' alt='' class='icon_svg_news'></div>" ); 76 $(".newsletter__sub").html( "СпаÑибо!" ); 77 $(".newsletter__wrap").html( "<p class='sub'>ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐ°Ð½Ñ Ð½Ð° ÑаÑÑÑÐ»ÐºÑ Ð®ÐÐÐÐ ÐÐÐÐÐÐ!</p>" ); 78 $(".newsletter__agree").remove(); 79 $(".error_span").remove(); 80 $(".newsletter__desc").remove(); 81 } else { 82 $("#email").addClass( "error-form" ); 83 $(".newsletter__wrap").after("<span class='error_span'>ÐдÑÐµÑ Ð²Ð²ÐµÐ´ÐµÐ½ невеÑно. ÐопÑобÑйÑе еÑе Ñаз</span>"); 84 } 85 }); 86 }); 87});
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.