PageSourceSearch

https://aab.uz/bitrix/components/pixelcraft/ab2.main.rates/templates/side/js/script.js

js aab.uz collected 2026-10-02 05:27:08 UTC 829 bytes, 27 lines download raw bytes

1$(function(){
2    $(".js-side-rates select").on('change', function(){
3        //alert($(this).val());
4
5        fnShowRates();
6    });
7
8    $(".js-side-rates button").on('click', function(){
9        //alert($(this).attr('data-tabs-path'));
10
11        $(".js-side-rates button.active").removeClass('active');
12        $(this).addClass('active');
13
14        fnShowRates();
15    });
16
17    fnShowRates = function () {
18        let strCategory = $(".js-side-rates select").val();
19        let strCurrency = $(".js-side-rates button.active").attr('data-tabs-path');
20
21        //console.log('strCategory: ' + strCategory);
22        //console.log('strCurrency: ' + strCurrency);
23
24        $('.js-rates-tab.active').removeClass('active');
25        $('.js-rates-tab[data-tabs-target=tab-'+strCategory+'-'+strCurrency+']').addClass('active');
26    };
27});

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.