+ 1
Function with Boolean true/false doesnt work
Hey i have a problem with my code.. The function "myFunction2" will not work. i will make the Button on click changing with false and true but it doesnt work.. can anyone help me? thank you and sry for my english.. https://code.sololearn.com/WSE72mvVU07g/?ref=app
3 ответов
+ 2
this is a translation of what Микола Федосєєв trying to say:
https://code.sololearn.com/WE01VZsERWY0/#js
+ 2
Create a global (outside functions) variable, say, var btnState and use it to store the button state.
+ 2
thank you i want to give you two the "best answer". thank you both