The code below works well in Safari but in Chrome and Firefox the form will not submit. Chrome console logs the error An invalid form control with name=\'\' is not fo
An invalid form control with name=\'\' is not fo
$("...").attr("required"); and $("...").removeAttr("required");
didn't work for me until I putted all my jQuery code between that:
$(document).ready(function() { //jQuery code goes here });