84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
required oninvalid="setCustomValidity('请输入商品名称');" oninput="setCustomValidity('');"
表单元素中使用上述代码,form表单的id为goodsForm
goodsForm.submit 火狐正常使用为空则不提交,填写正确则提交 Chrome提示不为空后还是会提交求解答,谢谢了
If it is judged to be empty and is not submitted, then add return false;
If it is judged to be empty and is not submitted, then add return false;