I am attempting to trigger a second pop-up from an initial pop-up using the code provided below. However, when I click on it, the first pop-up refreshes and displays the items within it instead of opening another separate pop-up window.
My goal is to have two pop-ups appear, but currently only one does. Can anyone provide assistance or guidance?
Here is the code snippet I am working with:
function pop_up(url) {
newwindow = window.open(url,
'name',
'height=517,width=885,scrollbars=yes,toolbar=no,menubar=no,resizable=yes,location=no,directories=no,status=no,titlebar=no,left=400,top=120');
if (window.focus) { newwindow.focus() }
return false;
}
Below is the code for the click event trigger:
Page.ClientScript.RegisterStartupScript(GetType(), "popup",
"pop_up_Info('" + "PopUpEmailing.aspx" + "');", true);