Question : JavaScript Error MSIE8 Object does not support this property or method

When I open a site in IE* I get a Done, but with errors warning. When I open the warning I get
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Tue, 6 Jul 2010 07:52:25 UTC


Message: Object doesn't support this property or method
Line: 318
Char: 1
Code: 0
URI: http://domain.com/templates/ja_ruby/js/ja.script.js

In that JavaScript on line 318 there is:
window.addEvent ('load', function() {
      equalHeight();
      //new MenuIcon($E('#ja-mainnav'));
});

What is the issue here? Not really proficient in JavaScript so no clue yet.

Answer : JavaScript Error MSIE8 Object does not support this property or method

Referring the Js file it seems its not the problem with the window.event function but the included function in it.

just try disabling that function in the js.script.js file.

like

window.addEvent('load', function() {
alert('window.addEvent Loaded');
      //equalHeight();      
});

Since the code seems to complex, any way, do you remember when it stop functioning, after adding any particular code or something. Just check the equalHeight or the functions that are called within it.


Hope this helps
Random Solutions  
 
programming4us programming4us