debugging IE7

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve

    debugging IE7

    I have a script which is working fine in Firefox and until recently
    worked in IE7 too. I have been working on the script and decided to
    test it on my wife's XP laptop and, lo and behold, it no longer works
    with IE7. With Firefox debugging is simple using Firebug but what does
    one use in IE7? I get a warning in the bottom left which say "Error on
    the page" (actually "Fehler auf der Seite" as my wife's laptop has
    German Windows installed but I will try and translate the warnings as
    I don't know exactly what an English version would say.). When I
    double click on this warning a popup appears with the following,
    insufficient, information:
    Row:163, Zeichen:5, Error: "The object doesn't support this method",
    Code:0, URL:http://members.chello.at/stephen.joung/testsite/
    indexMW_Distanc e20.html

    But the HTML file doesn't even have 163 rows and the js file has no
    problems around row 163 that I can see.

    For any of you who have experience of this I link to the html and js
    pages in the hope that you can help find the problem.




    Regards,

    Steve
  • Steve

    #2
    Re: debugging IE7

    On Jul 28, 4:51 am, Steve <stephen.jo...@ googlemail.comw rote:
    >
    For any of you who have experience of this I link to the html and js
    pages in the hope that you can help find the problem.
    >

    >
    Sorry, the js file is at



    Comment

    • Martin Honnen

      #3
      Re: debugging IE7

      Steve wrote:
      Row:163, Zeichen:5, Error: "The object doesn't support this method",
      Code:0, URL:http://members.chello.at/stephen.joung/testsite/
      indexMW_Distanc e20.html
      Correct

      function load() {
      linkA= readCookie('lin ka');
      linkB= readCookie('lin kb');

      to

      function load() {
      var linkA = readCookie('lin ka');
      var linkB = readCookie('lin kb');

      that should help. Currently you are trying to assign to linkA/linkB
      which are HTML element objects in IE's DOM.

      --

      Martin Honnen

      Comment

      • Steve

        #4
        Re: debugging IE7

        On Jul 28, 1:22 pm, Martin Honnen <mahotr...@yaho o.dewrote:
        Correct
        >
        function load() {
        linkA= readCookie('lin ka');
        linkB= readCookie('lin kb');
        >
        to
        >
        function load() {
        var linkA = readCookie('lin ka');
        var linkB = readCookie('lin kb');
        >
        that should help. Currently you are trying to assign to linkA/linkB
        which are HTML element objects in IE's DOM.
        >
        Many thanks Martin, that was indeed the problem.

        Best regards, Steve.

        Comment

        Working...