Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.