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]
>
>
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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