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