View Single Post
Old 11-02-2009, 10:51 AM   PM User | #2
Spudhead
Senior Coder

 
Spudhead's Avatar
 
Join Date: Jun 2002
Location: London, UK
Posts: 1,856
Thanks: 8
Thanked 110 Times in 109 Posts
Spudhead is on a distinguished road
I had this once, and it took me flipping AGES to figure it out. I'm not 100% it's the cause in this case, but you are doing the same thing that I did:

When you list members of an object, you put a comma after the last member. Firefox doesn't mind it, but IE does. For example:
Code:
	$(function() {
		$("#accordion_s2").accordion({
			icons: {
				header: "ui-icon-circle-arrow-e",
				headerSelected: "ui-icon-circle-arrow-s",
			}, autoHeight: false
		});
	});
That last highlighted comma? That's what was causing those errors for me.
Spudhead is offline   Reply With Quote