WebRoot/dingdanadd.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>我的购物车</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
<script language="javascript" type="text/javascript">
function checkform()
{
if (document.getElementById('sjnameid').value=="")
{
alert("收件人姓名不能为空");
return false;
}
if (document.getElementById('phoneid').value=="")
{
alert("手机号码不能为空");
return false;
}
valid = /^0?1[3,5,8][0,1,2,3,4,5,6,7,8,9]\d{8}$/;
if(!valid.test(document.getElementById("phoneid").value)){
alert('请输入正确的手机格式');
return false;
}
if (document.getElementById('addressid').value=="")
{
alert("收件地址不能为空");
return false;
}
return true;
}
</script>
后面还有 95 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
