JS正则表达式的验证 判断输入内容是否为空 function IsNull(){ var str = document getElementById( str ) value trim() 正则表达式 2022-04-03 177 点赞 2 评论 268 浏览