SCRIPT438: Object doesn’t support property or method


It was recently brought to my attention that one of my websites was not functioning correctly in Internet Explorer 9. Parts of the page and javascript would load, however the AJAX portions of the site failed to load.

Using the F12 Developer tools package with IE9 I was able to find the error:

1
2
SCRIPT438: Object doesn't support property or method 'getElementsByTagName'
jquery.js, line 16 character 59007
1
2
SCRIPT438: Object doesn't support property or method'getElementsByClassName'
jquery.js, line 3  character 22085

The solution is simple, update your jQuery to the latest version (at the time of this writing, 1.6.2). The version I had installed on the website (1.5) is not compatible with IE9.

Advertisements

3 thoughts on “SCRIPT438: Object doesn’t support property or method

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s