Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Clear...

Status
Not open for further replies.

imstillatwork

IS-IT--Management
Joined
Sep 26, 2001
Messages
1,605
Location
US
What is CFs equiv. of ASPs Response.Clear?

Just a realy simple way to clear all the displayed HTML and start a fresh page.

So if I get to a cfif that requires a clean page(no new window), I just clear the previous html.

thanks
 
I don't know ASP, but if you're referring to clearing HTML that has already been generated and sent to the browser, that's not possible in Netscape, although it may be possible in IE. If you're referring to throwing away HTML that has been generated (by your CF template) but not sent to the browser, you are also out of luck. If you need this latter capability, you will need to generate your HTML as a string, stored in a variable. When your are ready to send it to the browser, just output the string. If you need to throw it away, just zero-out the string. But if you use the in-line HTML that is the hallmark of CF, you won't be able to delete once you've used it.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top