I have to find element by class name and remove this class.
I tried to use:
document.getElementsByClassName('error-sign-up').removeClass('error-sign-up');
but I got an error -Uncaught TypeError: undefined is not a function.
I have to find element by class name and remove this class.
I tried to use:
document.getElementsByClassName('error-sign-up').removeClass('error-sign-up');
but I got an error -Uncaught TypeError: undefined is not a function.