There is a form with input that is required
<form action="" id="go"> <input type="text" name="name" class="" placeholder="set-name" required=""> <input type="submit"> </form> And if through javascript make submit, then the form is sent, without checking for required
document.getElementById("go").submit(); And if you click on the "Send" button - then there is a check, and does not send the form until you fill out ...
Why is this, why does js not check form fields?
Chrome 57.0.2987.133
Firefox 52