Hey, I have been pulling my hair out with this error I am having on this site.
I am getting the dreaded Object expected
error on line 1, character 21 in IE6 and IE7 only. I just wondered if anyone had any idea what this could be related to. I know about the whole trailing commas problem so I am very careful with that.
Any ideas will be much appreciated. Thanks.
We fixed the "Object expected" error in IE, so to answer the question in your comments:
The problem is in your HTML.
You have this HTML, once for each tab:
The problem is that you're specifying two elements with
id='introduction'
.For various reasons, you should not do that:
If I change it to (for example):
(remember to change all four instances in the same way)
And if I change your JS to this (for example), it works: