PageSourceSearch

https://belarusmebelshop.ru/bitrix/templates/.default/components/s…/footer1/script.js?14176279771100

js belarusmebelshop.ru collected 2026-10-06 04:53:15 UTC 1,100 bytes, 35 lines download raw bytes

1$(function(){
2	$("#artNumberAddForm").submit(function() {
3		var artNum=this.ARTNUMBER.value;		
4		var quantity=this.QUANTITY.value*1;			
5		if(artNum && quantity>0)
6		{
7			var action=$(this).attr('action');
8			var method=$(this).attr('method');
9			$.ajax({
10				type: method,
11				url: action,
12				data: { 'ARTNUMBER':  artNum, 'QUANTITY':  quantity, 'ajax': 'Y', 'action': 'addByArticle'},
13				success:  function(data) {
14					if(data.NAME){
15						$('#addItemInCart .item_title').text(data.NAME);
16						$('#addItemInCart .item_img img').attr('src', data.PREVIEW_PICTURE); 
17						var ModalName = $('#addItemInCart');
18						CentriredModalWindow(ModalName);
19						OpenModalWindow(ModalName);	
20						$("#basketCount").text(data.BASKET_COUNT);												
21						$("#basketSum").text(data.BASKET_SUM);					
22					}
23					else if(data.ERROR){						
24						$('#addItemInCartError .item_title').text(data.ERROR);						
25						var ModalName = $('#addItemInCartError');
26						CentriredModalWindow(ModalName);
27						OpenModalWindow(ModalName);	
28					}					
29				},
30				dataType: 'json'
31			});
32		}
33		return false;
34	});
35});

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.