日期:2014-05-16 浏览次数:20470 次
<!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=utf-8" />
<title>无标题文档</title>
<script type="text/javascript">
function submits(){
var form=document.getElementById('loginform');
var eles=form.elements;
for(var i=0,len=eles.length;i<len;i++){
if(eles[i].getAttribute('not_submit')=='true'){
eles[i].disabled=true;
}
}
form.submit();
}
</script>
</head>
<body>
<form id="loginform" name="loginformName" action="http://www.baidu.com" method="post" >
<div class="placeholder">邮箱或昵称</div>
<input class="ipt iptlong" type="text" value="" name="account" >
<div class="placeholder">密码</div>
<input class="ipt" type="password" value="" name="password" not_submit='true'>
<input type="button" value="" onclick="submits();">
</form>
</body>
</html>