日期:2014-05-16  浏览次数:20315 次

遇见了一个js错误,知道后郁闷了半天

?

?

<HTML>

<meta http-equiv="Content-Type" content="text/html; charset=gbk" />

<title></title>

?

<head>

</head>

?

<body>

<script type="text/javascript">

function open(){

alert("23");

var url = "www.163.com";

window.open(url);

}

?

</script>

<div class="bar"> </div>

<div class="panel" id="standard">

<form id="test" action="<%=request.getContextPath() %>/user.do" method="post">

<fieldset>

<legend></legend>

<div class="form-row">

<div class="field-label"><label for="field1">用户名</label>:</div>

<div class="field-widget"><input type="text" name="userName" class="required" title="请输入您的姓名" /></div>

</div>

<div class="form-row">

<div class="field-label"><label for="field8">密码</label>:</div>

<div class="field-widget"><input type="password" name="userPassword" class="required validate-password" title="请输入至少六位数的密码" /></div>

</div>

<div class="form-row">

<div class="field-label"><label for="field9">确认密码</label>:</div>

<div class="field-widget"><input type="password" name="field9" class="required validate-password-confirm" title="请再次输入密码" /></div>

</div>

<div class="form-row">

<div class="field-label"><label for="field7">用户类型</label>:</div>

<div class="field-widget">

<select id="field7" name="userType" class="validate-selection" title="选择你的属性">

<option value="<%=SysConfig.SYS %>">系统管理员</option>

<option value="<%=SysConfig.COLLEGE %>">二级院系</option>

<option value="<%=SysConfig.UNIT %>">用工单位</option>

</select>

</div>

</div>

<div class="form-row">

<div class="fiel