PHP基础PHP教程php框架JavaScript
asp.netAJAX正则表达式ASP
function checkFormat(str) { if (escape(str).indexOf("%u")!=-1) alert("不能含有汉字"); else if(str.match(/\D/)!=null) { alert('不能含有字母'); } }