Jump to content

[SOLVED] Pop up window not working...


Maq

Recommended Posts

When the user clicks the submit button I want a new pop-up window to appear.  The URL for this window is generated through a jsp variable.  When I hit the button once a pop-up window appears but is blank.  When I close the pop-up window and hit the submit button again the correct page appears.  What could be causing this?  Here is my code...

 

","resizable=1,toolbar=no,width=550,height=250") type="submit" name="submit" value="terminate it" class="fancy">

Link to comment
https://forums.phpfreaks.com/topic/121571-solved-pop-up-window-not-working/
Share on other sites


<input onClick="javascript:window.open('<%=shareURL%>','','resizable=1,toolbar=no,width=550,height=250');" type="submit" name="submit" value="terminate it" class="fancy"> 

 

I think window.open takes in 1 or 3 agurements.

 

1 -> url

3 -> url, window name, window attributes

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.