Abdullah• 340
@ASH2001prince
Submitted
Unfortunately I had a problem when I wanted to prevent the the procedure if there was no number been selected, Any ideas ?
@Poebyt13
@ASH2001prince
Submitted
Unfortunately I had a problem when I wanted to prevent the the procedure if there was no number been selected, Any ideas ?
@Poebyt13
Posted
I assumed that the button didn't work like this:
button = document.getElementById("button").disabled = true;
then when you press a number the button will be able to use it
button.disabled = false;