0

How to use if in buttons? For example, If this button pressed document. write("Hello")? (JS)

I tried "" if (**button id var**== true) { **statment** }"" and the ststment is done before I press?!!

17th May 2019, 3:57 PM
omar
1 ответ
+ 3
Please don't make duplicate questions. https://www.sololearn.com/Discuss/1804137/?ref=app
17th May 2019, 4:33 PM
Ipang