What does this error mean?

Discussion in 'JavaScript' started by netpox, Sep 17, 2007.

  1. #1
    When i run my page in IE7 on the bottow left corner of my browser there is an error. When i open it, this is what it says:

    [​IMG]
     
    netpox, Sep 17, 2007 IP
  2. webrickco

    webrickco Active Member

    Messages:
    268
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    This error was displayed because there's an error in a Javascript function on your page. The "Object excepted" error message is displayed because either the object itself, or a propriety or event belonguing to this object was not recognized by the browser at line: 78. Note that the error message is very vague and the line number is very often not corresponding to the code line where the error is actually taking place while editing the code.
    To have a better debugging capability of your script, i would suggest to install on your browser the extensions that allow you to have clearer messages and a quicker understanding of what might possibly be wrong. They both exists on IE and FF and they are free.

    Additionaly, you can post your code here. Maybe some trained eyes can answer quickly to your problems.
     
    webrickco, Sep 18, 2007 IP
  3. netpox

    netpox Active Member

    Messages:
    1,625
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    90
    #3
    what extensions do i install on my browser?
     
    netpox, Sep 18, 2007 IP
  4. danny-k

    danny-k Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    See here : http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html
     
    danny-k, Sep 19, 2007 IP
  5. netpox

    netpox Active Member

    Messages:
    1,625
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    90
    #5
    I tried debuging it but when it opens the debugger the text is empty and it says it can't locate the source code.
     
    netpox, Sep 19, 2007 IP
  6. meetgs

    meetgs Active Member

    Messages:
    957
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    70
    #6
    i experience it often.
    in my case, it is because i put google analytics .js at the end of my HTML and i was disconnected from the internet.

    the browser could not download the .js file.
    a function was called.
    which resulted in an error: object expected. (non-existent function)
     
    meetgs, Sep 21, 2007 IP