Results 1 to 3 of 3

Thread: Object doesn't support this property or method (ie8 maybe also other ie versions)

  1. #1
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Object doesn't support this property or method (ie8 maybe also other ie versions)

    Hello hello,

    i'm not very familiar with coding and that includes javascript :S
    learning though...

    anyway i got this ajax javascript thing for a dynamic photo album
    and i'm also using jquery for navigation.

    i noticed that IE8 both 32 and 64 bit version on windows 7 64 bit,
    SOMETIMES, like 50%, stops loading the page with an obscure error (for me)
    being: "Object doesn't support this property or method"

    it gives me a line where i find:
    {

    xmlHttpReq = new XMLHttpRequest();

    }

    does this ring a bell??? i have no clue, been searching the net all day...
    is it only on 64 bit systems? dunno will reboot a win7 32 bit and test asap.


    greets and thx for any feedback!

  2. #2
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by edude View Post
    Hello hello,

    i'm not very familiar with coding and that includes javascript :S
    learning though...

    anyway i got this ajax javascript thing for a dynamic photo album
    and i'm also using jquery for navigation.

    i noticed that IE8 both 32 and 64 bit version on windows 7 64 bit,
    SOMETIMES, like 50%, stops loading the page with an obscure error (for me)
    being: "Object doesn't support this property or method"

    it gives me a line where i find:
    {

    xmlHttpReq = new XMLHttpRequest();

    }

    does this ring a bell??? i have no clue, been searching the net all day...
    is it only on 64 bit systems? dunno will reboot a win7 32 bit and test asap.


    greets and thx for any feedback!
    this is the function:

    function xmlhttpPost(divName,ifile)

    {

    if ( debug ) alert( "xmlhttpPost('"+divName+"', '"+ifile+"');" );



    var xmlHttpReq = false;

    if (window.XMLHttpRequest) // Mozilla/Safari

    {

    xmlHttpReq = new XMLHttpRequest();

    }

    else if (window.ActiveXObject) // IE

    {

    xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");

    }

    else

    {

    if ( !has_been_warned )

    alert( "Your browser is not AJAX compatible!" );



    has_been_warned = true;



    return;

    }



    xmlHttpReq.open('POST', divName + ".php", true);

    xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');

    xmlHttpReq.onreadystatechange =

    function()

    {

    if (xmlHttpReq.readyState == 4)

    {

    updatepage(divName, xmlHttpReq.responseText);

    }

    }

    xmlHttpReq.send(getquerystring(ifile));

    }

  3. #3
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    same for 32 bit ie8

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
  •