How do I find where this "Internet Explorer Script Error" is occuring?

4 replies
I have a sales page that works fine in FireFox, but when I use I.E. 7 I get the following error ONLY when I close the window (not when I load the page or hit the back button)



Internet explorer script error


An error has occurred in the script on this page

Line: 53
Char: 3
Error: Object Required
Code: 0
URL: http://www.offlinegoldsummit.com/

I'm trying to fix this asap. Everything works fine, just want to get rid of the error message.

At the very least, I'd like to at least know how I can find "Line: 53 Char:3" so I can fix the problem.

Thanks in advance,

Scott
#find #occuring
  • Profile picture of the author CmdrStidd
    What are you writing your code in? Notepad? Dreamweaver? Most of those softwares allow you to view the line numbers. However, I will tell you this, script errors are not always in the line they say they are in. You really have to look at all the surrounding code. Make sure you have all the punctuation right as sometimes a missing ; or , can cause these kinds of errors too.
    {{ DiscussionBoard.errors[579132].message }}
    • Profile picture of the author Scott Million
      Originally Posted by CmdrStidd View Post

      What are you writing your code in? Notepad? Dreamweaver? Most of those softwares allow you to view the line numbers. However, I will tell you this, script errors are not always in the line they say they are in. You really have to look at all the surrounding code. Make sure you have all the punctuation right as sometimes a missing ; or , can cause these kinds of errors too.
      Grrrr....yeah, I'm using DreamWeaver. I don't find any characters in that line, though.

      Will keep scanning...it would be nice to have a software highlight the error!

      Scott
      {{ DiscussionBoard.errors[579147].message }}
      • Profile picture of the author CmdrStidd
        If another pair of eyes looking at it would help, I would be happy to look it over and see if I can see anything. PM me if you want to do that and I will give you my email addy.
        {{ DiscussionBoard.errors[579176].message }}
  • Profile picture of the author hiphil
    Try viewing the code in a text editor (e.g. WordPad).

    Turn word wrapping off (from the View menu).

    Count the lines of code from the top (including comments, but not blank lines), until you find the line you want.
    Signature

    Create your first website by 3:45 this afternoon - using Free software. (Free Download).
    www.hiphil.net

    {{ DiscussionBoard.errors[579885].message }}

Trending Topics