Web_ScienceManage/UsersUpdate.aspx

(开头部分) 10KB

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

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

<!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>
        function check() {


            var txtUserName = document.getElementById("txtUserName");
            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 (txtRealName.value == "") {
                alert("带红色 * 号项不能为空!");
                txtRealName.focus();
                return false;

            }
            if (txtPhone.value != "") {
                if (txtPhone.value.length == 11) {
                    var regPartton = /1[3-8]+\d{9}/;
                    if (!regPartton.test(txtPhone.value)) {
                        alert("请输入正确的手机号码!");
                        txtPhone.focus();
                        return false;
                    }
                }
                else {
                    alert("手机号码必须是11位!");
                    txtPhone.focus();
                    return false;
                }
            }


         

            if (txtEmail.value != "") {

                if (txtEmail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
后面还有 157 行代码,购买后查看完整代码

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

AI 解读 AI

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

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