if(!(/[\u4e00-\u9fa5]+/).test(document.creator.stuName.value)){
alert("只能输入汉字!");
txt = document.getElementById("stuName");
txt.value="";
txt.focus();
}