PageSourceSearch

https://onlineservices.nakheel.com/Login.js?v=639089958405992272

js nakheel.com collected 2026-10-02 04:48:43 UTC 3,024 bytes, 118 lines download raw bytes

1
2$(document).ready(function () {  
3    showServerError();
4    $('#btnLoginUAEPASS').hide();
5    $('#btnDisableLoginUAEPASS').show();
6    $('#btnDisableLoginUAEPASS').prop('disabled', true);
7    ActiveTab();
8    $(".tabbing").on('click', function () {
9        var tabname = $("input[type='radio'].tabbing:checked").val();
10        sessionStorage.setItem("activetab", tabname);
11    });
12});
13
14
15
16
17
18
19
20function valCtrls(ctrl) {
21    //$("#errList").html("");
22
23    var a = true, b = true, c = true;
24
25    if (ctrl.id == "txtEmailAddress") {
26        a = rstCtrl($("#txtEmailAddress")[0]);
27        showCtrlErrDiv("diverrtxtEmailAddress", a);
28    }
29
30    if (ctrl.id == "txtPassword") {
31        b = rstCtrl($("#txtPassword")[0]);
32        showCtrlErrDiv("diverrtxtPassword", b);
33    }
34
35    //c = rstCtrl($("#txtLoginId")[0])
36    //if (c == false) {
37    //    $("#txtPassword").css({ "border-color": "#E8594F" });
38    //    $("#errList").append("<li>Enter valid LoginID.</li>");
39    //}
40
41
42    //showErrorDiv(a && b );
43
44    //if (a && b) {
45    //    EncryptData();
46    //}
47
48    return (a && b && c);
49}
50
51function valAllCtrls() {
52    //$("#errList").html("");
53
54    var a = true, b = true, c = true;
55
56    a = rstCtrl($("#txtEmailAddress")[0]);
57    showCtrlErrDiv("diverrtxtEmailAddress", a);
58
59    b = rstCtrl($("#txtPassword")[0]);
60    showCtrlErrDiv("diverrtxtPassword", b);
61
62    return (a && b);
63}
64
65function formSubmit() {
66    if (valAllCtrls()) {
67       // EncryptData();
68        return true;
69    }
70    else { return false; }
71}
72
73
74function GoRegister()
75{
76    window.location.href = baseMainUrl + 'Modules/User/Register.aspx';
77}
78
79function EncryptData() {
80    $("#txtPassword").val(getEncryptedString($("#txtPassword").val()));
81}
82
83
84
85function enableBtnLoginUAEPASS() {
86    if ($("#chkboxUaepasslogin")[0].checked == true) {
87        $('#btnLoginUAEPASS').show();
88        $("#btnLoginUAEPASS").removeClass("disabled");
89        $('#btnLoginUAEPASS').prop('disabled', false);
90        $('#btnDisableLoginUAEPASS').hide();
91    }
92    else {
93        $('#btnLoginUAEPASS').prop('disabled', true);
94        $('#btnLoginUAEPASS').hide();
95        $('#btnDisableLoginUAEPASS').show();
96    }
97}
98function ActiveTab() {
99    if (activeTabsession == "UAEPASS") {
100        sessionStorage.setItem("activetab", "UAEPASS");
101        $("#tabtwo").click();
102    }
103    if (sessionStorage.getItem("activetab") == null) {
104        sessionStorage.setItem("activetab", "NOS");
105        $("#tabone").click();
106    } else {
107        if (sessionStorage.getItem("activetab") == "NOS") {
108            sessionStorage.setItem("activetab", "NOS");
109            $("#tabone").click();
110        } else if (sessionStorage.getItem("activetab") == "UAEPASS") {
111            sessionStorage.setItem("activetab", "UAEPASS");
112            $("#tabtwo").click();
113        } else {
114            sessionStorage.setItem("activetab", "NOS");
115            $("#tabone").click();
116        }
117    }
118}

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.