<script> 
function isChinese(temp) 
{ 
var re = /[^\u4e00-\u9fa5]/; 
if(re.test(temp)) return false; 
return true; 
} 
alert(isChinese("中文")); 
</script> 

http://www.jb51.net/article/14004.htm 

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案