摘要: //定义敏感字符 var forbiddenStr = "某某,不可以"; var forbiddenArray = forbiddenStr.split(","); //检测敏感字符函数 function forbiddenValidation(str) { var re = ''; for (var i = 0; i < forbiddenArray.length; i++)... 阅读全文
posted @ 2016-03-21 19:19 CorderBob 阅读(436) 评论(0) 推荐(0) 编辑