Javascript – Why if there are are two 'popupWindow = window.open' scripts does the second script's argument control both?
I have two scripts for popup windows. In all cases the arguments for the second script is controlling both. How do I fix this? <script> function firstPopup(url) { popupWindow = Window.open(url,'popUpWindow','height=300,width=300,left=200,top=200,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes') } </script> <a href="JavaScript:newPopup('bitcoin.cfm')" style="color:black">Here.<a href="JavaScript:newPopup('contactpri.cfm')" style="color:black"></a></script> <a href="JavaScript:newPopup('bitcoin.cfm')"…