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