Fixing JavaScript/Prototype problems in IE 8: A matter of class(Name)
Posted 8 months, 2 weeks ago at 09:55. 2 comments
While testing our pages in Internet Explorer 8, we found quite a lot of JavaScript errors. It turned out that, among other differences, Internet Explorer 8 doesn’t support getAttribute(‘className’) on DOM nodes as IE 7 did before, but requires the (correct) getAttribute(‘class’). The old way will now just create a ‘className’ attribute which does nothing.
This surfaced indirectly through the use of the (old) version 1.6.0.3 of Prototype in Magento. Upgrading to version 1.6.1 fixed most JavaScript issues with Internet Explorer 8.
hi ,
I am using symfony 1.2 under this version 1.6.0.3 prototype js is used.I am working on the ajax call but action (db updation ) is taken but response is not repleted in html page in IE8 and ff
Error:Message: Object doesn’t support this property or method
Line: 4073
Char: 9
Code: 0
URI: http://localhost/gimmie/web/sfProtoculousPlugin/js/prototype.js
Please reply
The problems should be fixed if you replace the original prototype.js with the newer 1.6.1 release. That version is the first to support IE 8. I’ve done this and not encountered any backwards compatibility issue.
Good luck!