摘要:
<script language="javascript"> function funcChina(){ var obj = document.form1.txtName.value; if(/.*[\u4e00-\u9fa5]+.*$/.test(obj)) { alert("不能含有汉字!"); return false; } return true; } </script> <form name="form1"><input type="text" name=&quo 阅读全文
posted @ 2011-07-21 19:07
shosky
阅读(18453)
评论(1)
推荐(0)