-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Description
I have the following JS order:
$ ( "# Aux"). Change (function () {
$ ( "# Name") focus ().;
$ ( "# Name") closest ("div") removeClass ("error")..;
if ($ ( "# aux"). val () === "Physics") {
$ ( "# Organ") attr ("data-required", true).;
} Else {
orgao.removeAttr ("data-required");
}
});
But even with the removeAttr () function when I try to send the form, the validate () again adds class 'error'
Metadata
Metadata
Assignees
Labels
No labels