PageSourceSearch

https://territoryterror.org.ua/js2/terrytoryterror/search.js

js territoryterror.org.ua collected 2026-10-02 12:20:23 UTC 1,214 bytes, 46 lines download raw bytes

1$(document).ready(function() {
2		var defValue = 'пошук';
3		//$('#searchFor').addClass('idle');
4		$('#searchFor').focus(function() {
5			//$(this).removeClass('idle').addClass('focus');
6			if (this.value == defValue) { 
7				this.value = '';
8			}
9			//if (this.value != defValue) {
10			//	this.select();
11			//}
12		});
13		$('#searchFor').blur(function() {
14			//$(this).removeClass('focus').addClass('idle');
15			if ($.trim(this.value) == ''){
16				this.value = defValue;
17			}
18		});
19});
20
21$(document).ready(function() {
22		var defValue = 'пошук';
23		//$('#searchFor').addClass('idle');
24		$('#searchFor1').focus(function() {
25			//$(this).removeClass('idle').addClass('focus');
26			if (this.value == defValue) { 
27				this.value = '';
28			}
29			//if (this.value != defValue) {
30			//	this.select();
31			//}
32		});
33		$('#searchFor1').blur(function() {
34			//$(this).removeClass('focus').addClass('idle');
35			if ($.trim(this.value) == ''){
36				this.value = defValue;
37			}
38		});
39});
40
41function SubmitSearch() {
42	return ($('#searchFor').val() && ($('#searchFor').val() != defValue));
43}
44function SubmitSearch() {
45	return ($('#searchFor1').val() && ($('#searchFor1').val() != defValue));
46}

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.