Results 1 to 2 of 2

Thread: IE7 and AJAX : Tab not working :-(

  1. #1
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IE7 and AJAX : Tab not working :-(

    Hello,

    I have downloaded an AJAX tab demo from
    http://www.dynamicdrive.com/dynamici...axtabscontent/


    Here is the demo on my server :
    http://www.petitepage.com/test/demo.htm

    On firefox, it works great :-)
    But on IE7, it doesn't work. The Tab is blocked

    Do you know what could be wrong ?
    Is it something that I should set up on my server for IE7 ?

    Thanks in advance for any help.

  2. #2
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have tried to put some basic logs to track the Error :
    Code:
    function loadpage(page_request, containerid){
    if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
            {
                    alert(containerid);
                     alert(document.getElementById(containerid).innerHTML);
                    alert(page_request);
                    document.getElementById(containerid).innerHTML=page_request.responseText;
            }
    }
    With Firefox, for "alert(page_request);", I get object "[Object XMLHttpRequest]".
    With IE7, I get "[object]" and the page never load.
    I have a javascript error on "document.getElementById(containerid).innerHTML=page_request.responseText;"


    Do you get the same problem with this page on your IE7:
    http://www.petitepage.com/test/demo.htm ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •