I have this html code in which I have several li elements on double click on each Li element, like a div The window appears. As many windows that appear for that particular window, I click on that window. My problem is how to prevent opening more than one window for a specific Li element?
Do I have JavaScript or some method in which I have clicked on a particular link. Element?
Set an object with a window / set as a Div ID key and set it to true If opened and "window" is closed on false.
So you have to show the window only when the value is false
openedWindows.li1 = false; OpenWindows.li2 = false; // ...
Comments
Post a Comment