Main page content populated on the fly?
        Posted  
        
            by jcovert
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jcovert
        
        
        
        Published on 2010-06-14T17:57:00Z
        Indexed on 
            2010/06/14
            18:02 UTC
        
        
        Read the original article
        Hit count: 177
        
Is there any reason to NOT have a webpage retrieve it's main content on the fly?
For example, I have a page that has a header and a footer, and in the middle of this page is an empty div. When you click on one of the buttons in the header, an http GET is done behind the scenes and the .innerHTML() of the empty div is replaced with the result.
I can't think of any reason why this might be a bad idea, but I can't seem to find any pages out there that do it? Please advise!
© Stack Overflow or respective owner