www.qjdy.com-奇迹赌场 > www.qjdy.com > javascript 表单的友好用户体现

原标题:javascript 表单的友好用户体现

浏览次数:134 时间:2019-09-07

<html xmlns="" >
<head>
<title>test</title>
<script language="javascript" type="text/javascript">
function validateLength(obj)
{
return obj.value.length < obj.getAttribute("maxlength");
}
</script>
</head>
<body>
<label for="userName">用户名:</label>
<input id="userName" type="text" maxlength="10" onmouseover="this.focus();" onfocus="this.select();" /><br /><br />

<label for="passWord">密码 :</label>
<input id="passWord" type="password" onmouseover="this.focus();" onfocus="this.select();" /><br /><br />

<label for="remark">备注 :</label>
<textarea id="remark" onkeypress="return validateLength(this);" onmouseover="this.focus();" onfocus="this.select();" maxlength="50" cols="50" rows="5"></textarea>
</body>
</html>

xmlns="" head titletest/title script language="javascript" type="text/javascript" function validateLength(obj) { return obj.value.length obj.getAttr...

本文由www.qjdy.com-奇迹赌场发布于www.qjdy.com,转载请注明出处:javascript 表单的友好用户体现

关键词: mg娱乐场

上一篇:但是结果往往是残酷的.

下一篇:没有了