Answer the question
In order to leave comments, you need to log in
How to execute a script when clicking on a non-modal window?
I am writing an application and I need a modal window to appear when I click on Input (or some other block), and then I just do onFocus or onClick and change the variable to true so that the window appears, this is understandable, but how to change the variable to false when I click on some other area (that is, I have a modal window open and if I click somewhere else, the script is executed).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question