Internet Explorer — object doesn’t support this property or method

When debugging Internet Explorer JavaScript errors, the problem has normally been something like a trailing comma in an array.

This time, it was as simple as not declaring a variable with “var” .

something = 'foo';
// try
var something = 'foo';

Yay, 10% of our traffic can now see our site.

Advertisements

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