View Full Version : jquerui accordion problems in IE

10-31-2009, 08:01 AM
Hello!, i am new to jquery but i love it! however i am having troubles with my site working properly in Internet Explorer 7+

the website is

Example of the error is:

Please look at it in IE, The bottom accordions 'Watch Online", "User Comments" and " Post Comments" are broken.

Can somebody please tell me whats wrong with it?

the errors i get are:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; msn OptimizedIE8;ENUS)
Timestamp: Sat, 31 Oct 2009 22:41:55 UTC

Message: Invalid argument.
Line: 83
Char: 8154
Code: 0
URI: http://hitplay.net/js/jquery-ui-1.7.2.custom.min.js

11-02-2009, 10:51 AM
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:

$(function() {
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.