remove required attribute for all element jquery code example Example: remove required attribute jquery $('#edit-submitted-first-name').removeAttr('required');