Js: How To Check A Button Was Disabled?
I want to check the button pressed or not pressed. How do I can do it? I've already tried to do, but it doesn't work. Here's my code.
Solution 2:
In your conditional statement, getElementById('button1').disabled=true should be getElementById('button1').disabled. The former will always return true, so you're checking if true equals true...
Post a Comment for "Js: How To Check A Button Was Disabled?"