Web_ScienceManage/UsersAdd.aspx

(开头部分) 9KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UsersAdd.aspx.cs" Inherits="UsersAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"  runat="server">
    <title>无标题页</title>
    <link href="images/skin.css" rel="stylesheet" type="text/css" />
    <script src="js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script>
        function check() {


            var txtUserName = document.getElementById("txtUserName");
            var txtPwd = document.getElementById("txtPwd");
            var txtRealName = document.getElementById("txtRealName");
            
            var txtPhone = document.getElementById("txtPhone");
            var txtEmail = document.getElementById("txtEmail");


            if (txtUserName.value != "") {

                if (txtUserName.value.length > 10) {
                    alert("用户名不能超过10个字符!");
                    txtUserName.focus();
                    return false;
                }


            }
            else {
                alert("带红色 * 号项不能为空!");
                txtUserName.focus();
                return false;

            }


            if (txtPwd.value != "") {
                if (txtPwd.value.length < 6 || txtPwd.value.length > 8) {
                    alert("密码只能是6至8个字符!");
                    txtPwd.focus();
                    return false;
                }
            }
            else {
                alert("带红色 * 号项不能为空!");
                txtPwd.focus();
                return false;

            }

            if (txtRealName.value == "") {
                alert("带红色 * 号项不能为空!");
                txtRealName.focus();
                return false;

            }

后面还有 172 行代码,购买后查看完整代码

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

AI 解读 AI

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

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