Solved

Javascript Error , Internet

Posted on 2013-11-22
16
604 Views
Last Modified: 2013-11-22
Any idea why IE 8 would give Javascript errors , and Error on page on the bottom left (Yellow ! )  ?   Using Windows 7.


Thanks ,
0
Comment
Question by:mvalencia2003
  • 6
  • 5
  • 3
  • +1
16 Comments
 
LVL 33

Expert Comment

by:Big Monty
ID: 39669042
this indicates there is an error in the javascript code on the page you are viewing. is this a page you are viewing or coding?
0
 
LVL 4

Author Comment

by:mvalencia2003
ID: 39669059
Viewing
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 300 total points
ID: 39669071
then the reason is whoever wrote the code for the page wrote it incorrectly for viewing on IE8.

Because each browser (and for the matter, each version of a browser) adheres to a different set of coding standards. what may work on one browser will not necessarily work on all other browsers...
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 4

Author Comment

by:mvalencia2003
ID: 39669075
Object required
javascript
Code: 0


Line: 845
Char: 13
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39669083
if you didn't write the code, the only thing you can do is let the author know there's a problem
0
 
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 200 total points
ID: 39669280
Hi,
+1 for The_Big_Daddy's comments.
The author of the code did not propperly verify his Javascript. Due to differences in all major browsers (so even huge differences in between each of IE7 -> IE8 -> IE9 -> IE10 and IE11) sometimes error only appear in newer (or older) browser versions as the Javascript engine is treating the script differently.

E.g. the following does not create an error in IE8
if (somecheck) {
   dosomething(); };
else
{ dosomethingelse();}

Open in new window

but fails in IE10.

You might try to use the compatibility settings in IE8 - but that depends on the root cause of the script issue (because the author assumed a browser version IE>8).

KR
Rainer
0
 
LVL 19

Expert Comment

by:*** Hopeleonie ***
ID: 39669401
If you have Windows 7, I would update and try with IE 11:
http://windows.microsoft.com/en-us/internet-explorer/ie-11-worldwide-languages
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39669425
I disagree with that suggestion, and think it's a rather dangerous suggestion...

you do not know the OP's situation, s/he may use IE8 for a certain set of applications. upgrading their browser could very well compromise their use of those apps.

One shouldn't have to upgrade their browser to just get a web page to work, seems a bit drastic to me....
0
 
LVL 4

Author Comment

by:mvalencia2003
ID: 39669445
on different computer ,

IE 9
and Firefox

work -

Any settings to change in IE 8 ?  or re install older Java version ?
0
 
LVL 19

Expert Comment

by:*** Hopeleonie ***
ID: 39669447
Ok do you use this computer private or commercial?
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39669452
Just can confirm:
IE11 breaks a LOT of sites - you have to configure each of them manually for compatibility views!!!
It is NOT the problem of the browser (I am not blaming IE 11 - I love him) but more on the web sites - but as long as your Citrix farm login is failing or your OWA site looks like 2003 ....
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39669457
Java <> Javascript

Java is something completely different and has nothing to do with Javascript!

The script code simply includes some elements / functions / methods / properties which do not exist in IE8 Script engine or which work differently.

The only chance you have is to use an alternate browser ...
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39669469
It's not a matter of settings but rather how the browser process the code. As you've discovered different versions process the code differently.

It has nothing to do with java but JavaScript,  which is a totally different animal. unless the code running has to do with permissions (meaning it requires elevated permissions to run in w such case you can change the browsers setting for permissions) there's not much you can do
0
 
LVL 4

Author Comment

by:mvalencia2003
ID: 39669651
line 845 shows :

            e = this.element.form.elements;
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 300 total points
ID: 39669666
ok thats a pretty standard line of code, so its not looking for elevated permissions...

like stated above, your only option is to use another browser
0
 
LVL 4

Author Closing Comment

by:mvalencia2003
ID: 39670143
Thanks all ,
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question