I have the following script:
I click on the link that: opens a popup called "popup" that loads the PDF inside it (in IE6).
without closing the popup, I click the link again, which should open the PDF again inside the popup, but instead a javascript error occurs: the participant was not found
The javascript function used to open a popup:
function openWindow(url, name, props) { var windowRef = window.open(url, name, props); if (!windowRef.opener) { windowRef.opener = self; } windowRef.focus();
Question: how do I get around this without opening a new popup every time?
source share