I have edit button at the last cell of the table. when I click it I am validating inputs if something goes wrong I am adding error class to necessary inputs. when the user will correct mistakes and push edit button again I want to remove error class of current row. but not from all row. How to do it?
Share
In the click handler:
Or if it was from the ‘input’ elements: