简体   繁体   中英

Internet Explorer Javascript Error

Trying to work out why something isn't working in Internet Explorer 8 or lower, it appears to work in all other browsers.

The errors given by Internet Explorer 8 are:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) Timestamp: Fri, 4 Nov 2011 15:18:12 UTC

Message: Object doesn't support this property or method Line: 17 Char: 17840 Code: 0 URI: client.bytewire.co.uk/marblesolar/wp-includes/js/jquery/jquery.js?ver=1.6.1

Message: Invalid argument. Line: 30 Char: 1208 Code: 0 URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/6/11/main.js

To replicate the error yourself

Any help would be greatly appreciated.

Elliot

<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" />

put this into your head section it should resolve problem with javascript, now you are getting error because its not possible to get offsetWidth and height in quirks mode for ie

I think this will help you, it helped me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM