Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
_mvm #1
data in new window
hi, quick question, how could i go about to pop up a new browser window with the data i obtained in the var #CFHTTP.FileContent# ?
_mvm Guest
-
Insert Data into DB using a PopUp window
Hi everyone, Can someone tell me how to insert data into a databse using a Popup window. I am having problems getting it to work. Thank you. -
Import data into PDF from external Browser window...
I have a pdf form that pops up a browser window. This window is where the user does a lot of pre-emptive mainframe calls to collect some needed... -
Referencing application data in a pop-up window
Hi, I have a main application page which contains a tab navigator, which contains two canvases. One canves has a form with a ComboBox. ... -
Refresh select from new data entered in pop-up window
This is for a client admin section. I am using CF 4.5 and an Access Database. I have a form which uses a dynamically created drop-down list. I... -
can a popup window return data to parent window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user... -
eastinq #2
Re: data in new window
I'm assuming that a user clicks on a link that goes to a result page which has
the <cfhttp> request. If this is the case then you would want to open a new
browser window first then load the result page.
<!--- Page1.cfm --->
<a href="Page2.cfm" target="_blank">Page 2</a>
<!--- Page2.cfm --->
<cfhttp ....>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
eastinq Guest
-
_mvm #3
Re: data in new window
i get the cfhttp response on page A, and i need to somehow open a popup from
that page that contains the data from the cfhttp request. i thought about
passing the data through the URL to the popup page but that does not seem to
work.
_mvm Guest
-
eastinq #4
Re: data in new window
To open a new window within the same CFM include this piece of code after your
CFHTTP request.
<script language="JavaScript">
<cfwddx action="cfml2js" input="#CFHTTP.FileContent#"
topLevelVariable="FileContent">
var newWin = window.open();
newWin.document.write(FileContent);
newWin.document.close();
</script>
eastinq Guest



Reply With Quote

