Re: Replacing an html page

"Matthew A. Nicholson" <[email protected]> Sun, 10 Jun 2007 20:39:35 -0500
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <[email protected]>
The only way to get a browser to replace a currently loaded page is via 
javascript.

Research the innerHTML property and/or the DOM.  Using javascript you 
can replace entire sections of a page without a complete reload.  You 
can also reload a page completely to "replace" it.

Scott Dallas wrote:
> I'm not sure how to ask this question, so forgive me if I am less than 
> succinct.
>  
> I am producing a page, then my program does some work, then I need to 
> replace the page.  The way my current code is working, its just adding 
> the new html to the end of the current document.  How do I replace the 
> page rather than adding to it?
>  
> Any help appreciated.
> Scott Dallas
> Science, like nature, must also be tamed,
> with a view towards it's preservation.
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> help-cgicc mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-cgicc

-- 
Matthew A. Nicholson
matt-land.com