用js验证中文字符
function checkChina(str){
var reg=/[\u4E00-\u9FA5]/g
if(reg.test(str) {
alert('含有中文');
}
}