摘要: //只允许汉字、英文字母、数字、下划线! else if (!txtName.match(/^[\u4E00-\u9FA5a-zA-Z0-9_]{0,}$/)) {//.match(/^[\u4E00-\u9FA5a-zA-Z0-9_]{3,20}$/) //{3,20}$表示是长度3-20 $... 阅读全文
posted @ 2015-04-28 15:17 【云】风过无痕 阅读(502) 评论(0) 推荐(0) 编辑