function Uploadpic(){
showModalDialog("pictureupload.cfm",window,"help: no;
unadorned:yes; height:400; width: 350; screenX:10; screenY:10");
}
-----Original Message-----
From: Jim Curran [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 1:21 PM
To: CF-Talk
Subject: RE: ot:submit form to itself
can we see the javascript for showModalDialog()?
- j
-----Original Message-----
From: Bruce, Rodney S HQISEC/SIGNAL
[mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 4:04 PM
To: CF-Talk
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
______________________________________________________________________
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