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?