PageSourceSearch

https://www.nsktv.ru/bitrix/components/gtrk/main.feedback/templates/.default/script.js?14212355381906

js nsktv.ru collected 2026-10-01 10:43:45 UTC 1,906 bytes, 65 lines download raw bytes

1$(document).ready(function() {
2	$("input[name=phone]").mask('+7 (000) 000-00-00');
3    /**
4	$("#feedback").submit(function(){
5        var f=0;
6        if ($("input[name=user_name]").val()=="") f=1;
7        if ($("input[name=phone]").val()=="") f=1;
8        if ($("input[name=email]").val()=="") f=1;
9        if ($("input[name=message_text]").val()=="") f=1;
10        if (f) {
11            alert("Заполните обязательные поля");
12            return false;
13        }
14        return true;
15    });
16	*/
17	
18	$(document).on("click", '#news-more-block .news-more-button', function(e) {
19		e.preventDefault();
20		
21		var page = $('#page-num').val();
22		var petitionCount = $('#petitionCount').val();
23		var filter_date = $('input[name="filter_date"]').val();
24		var filter_tag = $('input[name="filter_tag"]').val();
25		var check_section = (filter_tag > 0) ? 0 : 1;
26		
27		$('.loading-icon').css('visibility', 'visible');
28		
29		$.ajax({
30			url: "/ajax/petition-more.php",
31			type: "POST",
32			dataType: "json",
33			data: ({
34				page: page,
35				petitionCount: petitionCount
36			}),
37			success: function(result) {
38			
39				$('.loading-icon').css('visibility', 'hidden');
40				
41				$('#page-num').val(result.page);
42				if (result.content != "") $('#petitions_block').append(result.content);
43				
44				if (result.page_count < result.page) $('.news-more-button').remove();
45				
46				$('#wrapper-content-block .news-page li .img-block a').on('mouseover', function(){
47					$(this).closest('.item-content').find('.name a').addClass('hover');
48				}).on('mouseout', function(){
49					$(this).closest('.item-content').find('.name a').removeClass('hover');
50				});
51				
52			}
53		});
54		
55	});
56	
57	
58	$('.totop-button').on('mouseover', function(){
59		$(this).closest('.totop-button').find('.icon').addClass('hover');
60	}).on('mouseout', function(){
61		$(this).closest('.totop-button').find('.icon').removeClass('hover');
62	});		
63	
64	
65});

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.