As we are all aware, when clicking on a submit button that contains an onClick(windown.open(...))
command, a new window is opened with the specified attributes. However, if you proceed to click on the parent window and then click on the 'submit' button again without closing the previous popup window, the same window gets replaced with new data.
Now, I am in need of a solution for the window.open()
script to generate new windows each time it is clicked. This means that I should be able to click the parent "submit" button twice in a row and have two distinct child windows appear.
It seems like a simple issue, but I haven't been able to find a solution yet.