logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • carcomaidon
    • Posted on Tue 31 Oct 2006 12:48 PM

    Chris. I think we use to make Ajax calls targeting to elements which content will be treated as HTML - this is, not containing the <html> and </html> tags - In those cases what you scoped out above is OK, I do the same!

    The problem comes up when you try to do an AJAX call and the target returns a whole HTML page (with <html> , <head> , <body> and probably DOCTYPE tags). In that case you can't move this result HTML to a DIV, it will crash - well, it will do nothing - I am wondering how Jack Slocum did load codestore using Ajax in a new container-type element....was he using an iframe instead of a DIV? Not sure ...

    Thanks!

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: