Jump to content

Hillel

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Hillel

  1. Why isn't the top snippet valid? Remember, window is the default namespace, and the top example checks for a certain ActiveX control, instead of just for the presence of ActiveX.
    Hello, Synook.You are right, "window" not so is important.It is valid code too:
    ...else if (ActiveXObject)...

    But this code not working:

    ...else if (ActiveXObject("Microsoft.XMLDOM"))...

    This fragment of a code (ActiveXObject("Microsoft.XMLDOM")) is completely not necessary, besides it still does problems, I user EI6 - I checked it.Thanks.

  2. Hello.There is an error in "XML to HTML" chapter, its example is not valid for browser EI6 (I'm user EI6).Not valid code:

    ...else if (ActiveXObject("Microsoft.XMLDOM"))...

    Valid code:

    ...else if (window.ActiveXObject)...

    Thanks.

×
×
  • Create New...