EasyShop/Content/images2/mkl/SimpleRegistern.js

(开头部分) 8KB

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

var mailStatus = true;
var vmailStatus = true;
var pwdStatus = true;
var vpwdStatus = true;
var verifyCodeStatus = true;
var agreementStatus = true;
var checkOK = true;


$(document).ready(function() {
	renewVerifyImage();
	$("#email").focus();
   //	$("#agreementLink").click(function() {
	//	window.open("http://www.m18.com/Contact/RegisterRemark.html", '麦网用户服务协议', 'height=155, width=580,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
	//	return false;
	//});


	$("input").focus(function() {
		$(this).addClass("focus");
	})
    .blur(function() {
    	$(this).removeClass("focus");
    });

	$("#email").focus(function() {
		$(this).next("span").addClass("note").removeClass("ok").removeClass("error").text("请填写有效的Email地址作为下次登录用户名。我们会给这个地址发送订单通知、优惠信息等");
	});

	$("#r_email").focus(function() {
		$(this).next("span").addClass("note").removeClass("ok").removeClass("error").text("两次输入的Email地址要一致");
	});

	$("#pwd").focus(function() {
		$(this).next("span").addClass("note").removeClass("ok").removeClass("error").text("密码必须是6-30位字符,请正确输入");
	});

	$("#rpwd").focus(function() {
		$(this).next("span").addClass("note").removeClass("ok").removeClass("error").text("两次输入的密码要一致");
	});

	$("#checkimg").focus(function() {
		$(this).siblings("span").addClass("note").removeClass("ok").removeClass("error").text("请输入四位验证码");
		//$("#spanServerError").hide();
	});

	$("#email").blur(function() { CheckEmail($(this)); });

	$("#r_email").blur(function() { CheckVEmail($(this)); });

	$("#pwd").blur(function() { CheckPwd($(this)); });

	$("#rpwd").blur(function() { CheckVPwd($(this)) });

	$("#checkimg").blur(function() { CheckVeryCode($(this)); });
});


function CheckEmail(obj) {
	var regs = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
后面还有 205 行代码,购买后查看完整代码

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

AI 解读 AI

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

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