Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
| Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 21st, 2005, 06:18 PM
Registered User
Join Date: Dec 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Javascript submit form to popup window

If I post a form using Javascript like this to popup window:

function cForm() {
   win = window.open('','myWin','toolbars=0');            
how can I know when the response to the post is done loading on the popup window? Seems I can't use win.document.onload because a blank document is loaded when popup window is initialized.

  #2 (permalink)  
Old December 23rd, 2005, 07:18 AM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

can you not set a flag in the response to the form that does something like the following onload :


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript : window.open -> Popup Blocker Issue AbrarNazeer Pro JSP 0 September 2nd, 2006 05:49 AM
Popup window from javascript arnabghosh Javascript How-To 1 March 2nd, 2006 10:17 AM
Popup window from Javascript arnabghosh Javascript 3 March 1st, 2006 01:09 AM
Javascript popup window with ASP variable johnnycorpse Classic ASP Databases 2 February 24th, 2005 01:17 PM
Thank you popup window after asp submit? kbuska Classic ASP Basics 1 September 20th, 2004 06:35 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.