Hi all,

I have the following javascript on a popup window.
if (navigator.appName == "Netscape") 
  {
                function CloseForm(theForm)
                        {
                        theForm.submit();
                        setTimeout(window.close, 2000);
                        }
  }
 else if (navigator.appName == "Microsoft Internet Explorer")
  {
                function CloseForm(theForm)
                        {
                        window.close();
                        }
  }
The popup window is a form that submits to a target frame.  I had to put the
settimeout
in for ns because it would close the window before the submit action took
place.  But
ie bombs on the settimeout so I had to take it out and just use the
window.close().  
I call this function with an onclick="javascript:CloseForm(this.form);".
When I had
the "theForm.submit();" on the ie version of the function it would submit
the form twice.
So I took it off and now it submits the form and closes the window but the
target
frame never gets refreshed.  Basically it's submitting the form but it's not
sending 
the action to the target frame cause it's not reading it or something.

Any ideas?

Thanks,
jason

<!---
     Jason Dowdell
     [EMAIL PROTECTED]
     321.799.6845
     IM AES - Web Developer
 --->

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to