You can't change the location of a modal dialog using "normal" methods, 
which is why it keeps opening up a new window.  What you can do, 
however, is to have an iframe on your page.  Then, submit the form to 
the iframe.  You can then have some javascript to close the modal 
window, or whatever.

----- Original Message -----
From: "Bruce, Rodney S HQISEC/SIGNAL" <[EMAIL PROTECTED]>
Date: Monday, August 12, 2002 2:03 pm
Subject: RE: ot:submit form to itself

> I changed the <FORM> to:
> <form action="#cgi.path_info#" target="_top" method="post"
> enctype="multipart/form-data" name="uploadfile" id="uploadfile">
> 
> and when submitted, it still opens another window.
> 
> 
> I initially open the popup like this in a JS function:
> showModalDialog(pictureupload.cfm)
> 
> -----Original Message-----
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 12:56 PM
> To: CF-Talk
> Subject: Re: ot:submit form to itself
> 
> 
> > Hello all
> 
> > Need some help with a popup window and form submit.
> 
> > I have a form in a popup window and would like to submit back to 
> itself.> I can do this, but when I do a new full size window is 
> opened.
> > How can I submit a form back to itself and keep it in the popup 
> window.
> What are the action and target attributes of the form tag currently?
> 
> You might try using action="#cgi.path_info#" and target="_top" 
> just to make
> sure the form's not getting a bad base target from the page.
> 
> 
> Isaac Dealey
> Certified Advanced ColdFusion Developer
> 
> www.turnkey.to
> 954-776-0046
> 
> 
______________________________________________________________________
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
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