Change if an input text is disabled or enabled
In my program the user will be alowed to change his/her name, email and username by clicking the button "edit", i already have the attribute disable on each input text, but when i put the function on the button it doesn't change the status.
Here's the code of the input texts:
And here's the code of the function:
$('.editSubmit').click(function() {
$('.nameClient').removeAttr(disabled);
$('.emailClient').removeAttr(disabled);
$('.usernameClient').removeAttr(disabled);
});
Thanks for the help.