日期:2014-05-16  浏览次数:20390 次

js 测试 用户名 中文 英文 数字 判断 函数 是否 存在

/^((\w)|([\u4E00-\u9FA5])){1,20}$/.test(accountName)

?

?

?

?

?

?

if( typeof customAction == "function" ){

? ? ? ? ? ? ? ? customAction(data);

? ? ? ? ? ? }