PageSourceSearch

https://mywayairlines.com/skins/myway/js/ovik.js

js mywayairlines.com collected 2026-10-05 02:13:41 UTC 1,219 bytes, 41 lines download raw bytes

1
2$(function(){
3    /*
4     *  formis aucilebeli velebis shemowmeba
5     *  tu romelime ".required" veli ar aris shevsebuli - mag vels vamatebt klass ".err"
6     *  tu yvela aucilebeli veli shevsebulia - vagzavnit formas AJAX-is mesveobit
7     * */
8    $(".ajax-form").each(function(){
9        let $this = $(this);
10
11        $this.find("input,select").removeClass("err");
12
13        $this.submit(function(event){
14            event.preventDefault();
15
16            let $ok = true;
17
18            $this.find("input,select").each(function(){
19                let $me = $(this);
20                if ($me.hasClass("required"))
21                {
22                    if (!$me.val()) {
23                        $me.addClass("err");
24                        $ok = false;
25                    }
26                }
27            });
28
29            if ($ok) {
30                let params = $this.serialize();
31                $.post($this.attr("action"),params,function(result){
32                    if (result.success) { $this[0].reset(); }
33                    alert(result.msg);
34                });
35            }
35 else { alert(jsAPP.lang['specify_required']); }
36
37            return $ok;
38
39        });
40    });
41});

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.