Page 1 of 1

Enable button

Posted: Tue Nov 06, 2018 11:27 pm
by Laertes
Hello !
I am trying to click on a button but it is disabled, it only enables if clicking inside a field of the site, I filled in the field has run time. But the button does not enable, how could I enable and then click execution time?

Code: Select all

<input tabindex="1" id="login-submit" class="login submit-button" type="submit" value="Entrar" disabled="">

Re: Enable button

Posted: Wed Nov 07, 2018 8:44 am
by salvadordf
Try the removeAttribute method in JavaScript :
https://www.w3schools.com/jsref/met_ele ... ribute.asp