<script language=javascript>
function check(value){
if(!/[\u4E00-\u9FA5]/g.test(value)){
alert("包含非中文字符~");
return false;
}
}
</script>
<input name='test' onblur='check(this.value)'/>
function check(value){
if(!/[\u4E00-\u9FA5]/g.test(value)){
alert("包含非中文字符~");
return false;
}
}
</script>
<input name='test' onblur='check(this.value)'/>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货