标签:reg jquery amp err func class nbsp cti name
if(/[@#\$%\^&\*]+/gi.test($("#user_api_register_form").find("input[name=‘user_name‘]").val())) { $.showErr("用户名含有非法字符",function(){ $("#user_api_register_form").find("input[name=‘user_name‘]").focus(); }); return false; }
标签:reg jquery amp err func class nbsp cti name
原文地址:http://www.cnblogs.com/xuzhengzong/p/6866276.html