加入收藏 - 网站地图 - 网站搜索 -
阅读新闻

只能输入英文和数字

[日期:01-22] 来源:  作者: [字体: ]

<html>
<head>
<title>网页特效|Linkweb.cn/Js|---只能输入英文和数字</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>

<input onkeyup="value=value.replace(/[\W]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">

</body>
</html>



评论 】 【 推荐 】 【 打印
上一篇:只能输入英文和数字
下一篇:非常酷的函数画图效果
相关新闻       特效代码