I would like to remove any HTML 5 validation on all input
elements. Preferably using pure javascript.
Thinking it would be nice to create a file that can be included when developing, which would bring certain functionallity. Such as removing all required attributes, dumping post data, error reporting on/off, etc.
I have some jquery to remove the attribute from certain elements:
$('div').removeAttr('required');
But would like to see something that works without jquery and applys to all elements that support html5 validation.