you could always just use the attribute target="_blank" inyour form tag. That is if your not trying to control the type of new window, size and tec..
-Shawn Regan -----Original Message----- From: Van Vliet, Scott [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 9:45 AM To: CF-Talk Subject: RE: OT : js submit into new window... This works in IE, but I haven't tested it in NN. <snip> <html> <head> <title>Untitled</title> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function subForm(obj) { window.open("","WinName","width=500,height=300"); obj.submit(); } //--> </SCRIPT> </head> <body> <form action="http://www.site.com/action.cfm" target="WinName"> <input type="text" name="txtSomething"> <input type="button" value="Click Me" onclick="subForm(this.form);"> </form> </body> </html> </snip> Enjoy! -- Scott Van Vliet Sempra Energy 555 W. 5th St., 21st Floor Los Angeles, CA 90013 Tel > 213.244.5205 Email > [EMAIL PROTECTED] "Hello Stupid, and welcome to your crappy computer." - Strong Bad, HomestarRunner.com > -----Original Message----- > From: Tyler Silcox [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 9:43 AM > To: CF-Talk > Subject: OT : js submit into new window... > > > Is there a way to submit a form into a new window, on > somebody else's server, and control it's properties (size, > status bars, etc)? Right now, I'm using the target attribute > in the form tag, but I'd like to have more control over the > the window...TIA-> > > Tyler Silcox > email | [EMAIL PROTECTED] > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists