Results 1 to 4 of 4

Thread: Internet Explorer gives syntax error at Line 4

  1. #1
    Join Date
    Jun 2009
    Posts
    96

    Internet Explorer gives syntax error at Line 4

    I recently got an error through a javascript window.onerror. The error states: syntax error in line 4 on Internet Explorer
    Code:
    var previouserror, title, address, reg, res, bad, Mails, result, crd, R, v, x, y, z, i, loc, valid, add, Tels;
    The same declarations does not pose any trouble in Firefox. Does anyone else had this problem? Could provide me some help regarding the same?

  2. #2
    Join Date
    May 2008
    Posts
    611

    Re: Internet Explorer gives syntax error at Line 4

    This kind of error message is very rare and so it is hard to find the actual problem. It is also unfair if we provide you a solution that does nothing in your case. So, in short, if you want to know the actual problem then it is better and get a more detailed explanation about your syntax error then go to Tools - Internet Options - Advanced tab and uncheck the box labeled "show friendly http error messages".

  3. #3
    Join Date
    May 2008
    Posts
    669

    Re: Internet Explorer gives syntax error at Line 4

    Basically "syntax" means the spelling and/or grammar of a programming language. Computer languages are case sensitive. Each program defines its own syntactical rules that control which words the computer understands, which combinations of words are meaningful, etc. To stop getting these errors, open Internet Explorer, go to Tools, Internet Options, under the Advanced tab, check "Disable script debugging", click Apply, then OK.

  4. #4
    Join Date
    Feb 2008
    Posts
    767

    Re: Internet Explorer gives syntax error at Line 4

    As you have mentioned that you do not have any problems in Firefox, then I think the invalid syntax error could be a JavaScript bug. Did you try turning off JavaScript? Also, if you have a popup stopper, the error may be coming from there. If the problem is still not resolved, reinstall or repair your Internet Explorer.

Similar Threads

  1. Getting out of Memory at Line 8 message on internet explorer
    By Adam Ant in forum Technology & Internet
    Replies: 4
    Last Post: 15-01-2012, 08:09 AM
  2. help, out of memory at line 17 error in internet explorer
    By snikers200 in forum Technology & Internet
    Replies: 1
    Last Post: 12-09-2011, 05:14 PM
  3. Internet explorer 7:script error "line 1507 char 1" while print a page
    By Nammed Khuri in forum Technology & Internet
    Replies: 3
    Last Post: 11-02-2011, 01:17 PM
  4. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  5. Internet explorer stack overflow line 0 error
    By Macfly in forum Technology & Internet
    Replies: 2
    Last Post: 25-05-2009, 09:59 PM

Tags for this Thread

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
  •  
Page generated in 1,713,290,618.21549 seconds with 17 queries