|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Close CFDocument window?
Hello all,Billy Cox 07/05/12 11:02 A You could try a small hidden iframe and have your form post to that.Byron Mann 07/11/12 01:27 A Hello all, I have a form that submits to an action page containing a CFDocument tag in a new window. The action page sends the PDF output directly to a printer using CFPrint, soI end up with a new blank window. I have been trying *unsuccessfully* to close that new blank window programmatically so that I don't have to train users to do it. Any ideas? What I have tried is to set a javascript timer in the submitting page to close the child window after x number of seconds. I have also tried using cfthrow in the action page to catch a custom error that could then use javascript to close the window. btw, cfprint is a workaround to allow printing to a non-AirPrint device from Safari on an iPad. Thanks, Billy Cox You could try a small hidden iframe and have your form post to that. Byron Mann Lead Engineer and Architect Hostmysite.com On Jul 5, 2012 11:02 AM, "Billy Cox" <billy@oldworldspices.com> wrote: ----- Excess quoted text cut - see Original Post for more -----
|
May 20, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||