I have a web application which makes use of the HTML5 required attribute frequently. However Safari and ie 8/9 do not support this attribute. Is there a jQuery
required
You could shim it simply...
if ($("").prop("required") === undefined) { $(document).on("submit", function(event) { $(this) .find("input, select, textarea") .filter("[required]") .filter(function() { return this.value; }) .each(function() { // Handle them. }); }); }