PageSourceSearch

https://dolnylieskov.sk/idsk/themes/default/js/search.js

js dolnylieskov.sk collected 2026-10-02 23:55:08 UTC 899 bytes, 34 lines download raw bytes

1$(document).ready(function(){
2
3
4
5  $('.header_search_box_textbox input').keyup(function(){
6    var s = $(this).val().trim();
7    var id_group = $('#id_group').val().trim();
8
9    if(s.length !== 0) {
10      $('.header_search_box_data').show();
11      $('.header_search_box_data > ul').html('<li><span class="ajax-loader"></span></li>');
12
13      $.ajax({
14        url: SCRIPT_URL + '/ajax/search.php',
15        type: 'POST',
16        cache: false,
17        data: {s:s,id_group:id_group},
18        success: function(data) {
19          if(data != '') {
20            $('.header_search_box_data > ul').html(data);
21          }else{
22            $('.header_search_box_data > ul').html('<li><span>Žiadne výsledky</span></li>');
23          }
24        }
25      });
26
27    }else{
28      $('.header_search_box_data').hide();
29      $('.header_search_box_data > ul').html('');
30    }
31
32  });
33
34});

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.