I did find this, but want to try Jon's way: http://www.designf1.webcentral.com.au/tutorials/form008.html
I'll be plugging away again shortly and will let you know my results... R > -----Original Message----- > From: Gyrus [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 15, 2002 4:37 PM > To: CF-Talk > Subject: Re: Mildly OT: JS, Form, Passing Vars > > > ----- Original Message ----- > From: "Jon Hall" <[EMAIL PROTECTED]> > > Your making it to complex I think. Just submit the form using > > target="new". Something like this... > > > > <script> > > function setFormParams(elem, type) { > > if (type == 'preview') { > > elem.action = 'letterPreview.cfm'; > > elem.target = 'new'; > > else if (type == 'complete') { > > elem.action = 'completeForm.cfm'; > > } > > elem.submit(); > > </script> > > > > <form id="letter"> > > <input type="submit" id="preview" value="preview" > onclick="setFormParams(this.form, 'preview')"> > > <input type="submit" id="complete" value="sumbit" > onclick="setFormParams(this.form, 'complete')"> > > </form> > ---------------------------- > > I'm curious (and too immersed in something else to set up a > test ;-)... What > happens to the opener, the parent window contents, when you > submit to the > preview pop-up? Does the browser know not to reload anything > into here when > it's submitted a form to another window? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

