Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Sep 2010
    Location
    Yarra Glen, Victoria, Australia
    Posts
    213
    Thanks
    0
    Thanked 38 Times in 24 Posts

    Javascript variables not defined.

    I am having trouble running Javascript from web sites. In the Error Console I see messages such as "gFld is not defined" and "initializeDocument is not defined", and the page does not display correctly. I get this behaviour in both Firefox 4 and IE8, and have checked that Javascript is enabled in both, so I believe it is a Java-related problem and not a browser problem. I also get the same behaviour with Firefox in safe mode (all add-ons disabled). I have deleted and reinstalled the current JRE 1.6.0.24, but it made no difference. On another computer I can access the same sites correctly with no errors, so the actual scripts are OK. There is evidently something incorrect or missing in my computer which is preventing variables in the script from being defined??

    The OS on both computers is XP SP3, running the same browsers and JRE. Any ideas please?

  2. #2
    Super Moderator Deadeye81's Avatar
    Join Date
    Dec 2009
    Location
    North Carolina, USA
    Posts
    2,654
    Thanks
    7
    Thanked 113 Times in 97 Posts
    What did you use to delete the JREs? Check this link out on how to remove Java from your computer.

    Also, check out this Java link for instructions on how to remove Java installations.
    Last edited by Deadeye81; 2011-04-10 at 10:24. Reason: additional link

  3. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts
    Javascript and Java are not related. If you are running into Javascript errors it is a problem with the web site. You should attempt to contact the web site owner.

    Joe

  4. #4
    Star Lounger
    Join Date
    Jun 2001
    Location
    Blackpool, Lancashire, England
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Bundaburra View Post
    I am having trouble running Javascript from web sites. In the Error Console I see messages such as "gFld is not defined" and "initializeDocument is not defined", and the page does not display correctly. ...
    On another computer I can access the same sites correctly with no errors, so the actual scripts are OK. There is evidently something incorrect or missing in my computer which is preventing variables in the script from being defined??

    The OS on both computers is XP SP3, running the same browsers and JRE. Any ideas please?
    Nothing to do with JRE.
    Most likely would be some form of content blocking on your PC. One or more of the files the web page uses are not being loaded. Try disabling any Advert Blocking you have to verify.
    Last edited by TerryB; 2011-04-13 at 15:49. Reason: spelling
    Windows XP SP3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •