1 2; /* Start:"a:4:{s:4:"full";s:101:"/bitrix/templates/arhangelskoe_new/components/asd/subscribe.quick.form/index/script.js?15245175081154";s:6:"source";s:86:"/bitrix/templates/arhangelskoe_new/components/asd/subscribe.quick.form/index/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3if (typeof($) !== 'undefined') { 4 $(document).ready(function() { 5 $('#asd_subscribe_submit_index').click(function(){ 6 if (!$.trim($('#asd_subscribe_form_index input[name$="asd_email"]').val()).length) { 7 return false; 8 } 9 var arPost = {}; 10 arPost.asd_rub = []; 11 $.each($('#asd_subscribe_form_index input'), function() { 12 if ($(this).attr('type')!='checkbox') { 13 arPost[$(this).attr('name')] = $(this).val(); 14 } 15 else if ($(this).attr('type')=='checkbox' && $(this).is(':checked')) { 16 arPost.asd_rub.push($(this).val()); 17 } 18 }); 19 $('#asd_subscribe_res_index').hide(); 20 $('#asd_subscribe_submit_index').attr('disabled', 'disabled'); 21 $.post('/bitrix/components/asd/subscribe.quick.form/action.php', arPost, 22 function(data) { 23 $('#asd_subscribe_submit_index').removeAttr('disabled'); 24 if (data.status == 'error') { 25 $('#asd_subscribe_res_index').css('color', 'red'); 26 } else { 27 $('#asd_subscribe_res_index').css('color', 'gray'); 28 } 29 $('#asd_subscribe_res_index').html(data.message); 30 $('#asd_subscribe_res_index').show(); 31 }, 'json'); 32 return false; 33 }); 34 }); 35} 36/* End */ 37;; /* /bitrix/templates/arhangelskoe_new/components/asd/subscribe.quick.form/index/script.
37js?15245175081154*/
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.