hlzyWeb/css/jCommon.js

(开头部分) 45KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/// <reference path="JSintellisense/jquery-1.3.2-vsdoc2.js" />

function ajaxlogin() {
    var username = document.getElementById("jtbUserName").value;
    var password = document.getElementById("jtbPassword").value;
    var foot_cbMemary = document.getElementById("jcbMemary").checked;
    var flag = 0;
    if (foot_cbMemary == true) {
        flag = 1;
    }
    else {
        flag = 0;
    }

    if (username == "") {
        alert("请输入用户名!");
        return false;
    }
    if (password == "") {
        alert("请输入密码!");
        return false;
    }
    jQuery.ajax(
    {
        type: "post",
        url: "Ajax/AjaxLogin.aspx",
        data: "name=" + escape(username) + "&t=" + new Date().getTime() + "&password=" + password + "&flag=" + flag,
        success: function (msg) {
            if (msg == "0") {
                //登录失败
                alert("用户名或者密码错误!");
            }
            else {
                window.location.href = window.location;
            }
        }
    })
}

//隐藏弹出框
function jhidewindow() {
    $("#windownbg").remove();
    $("#windown-box").fadeOut("slow", function () { $(this).remove(); });
}

function goregister() {
    var url = "register.aspx";
    var togoid = $("#hftid").val();
    if (togoid != undefined && togoid != "") {
        url += "?shopid=" + togoid;
    }
    window.location = url;
}



//操作cookie
//value:不为空时,表示设置cookie
//value:为空时,表示得到这个名字的cookie
// add by jijunjian 2010-03-26;
后面还有 1326 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。