<html>
<title>
</title>
<body>
html禁止input文本框输入:
<br>
readonly:<input type="text" readonly="true" value="abc"/>
<br>
disabled:<input type="text" value="bcd" disabled="disabled" />
<br>
maxlength:<input type="text" value="" maxlength="0" />
<br>
blur:<input type="text" οnfοcus="this.blur();">
<br>
</body>
</html>
html禁止input文本框输入的几种方式
最新推荐文章于 2023-09-14 23:53:49 发布