error messages from jquery in IE8

I have been noticing error jquery.js messages coming from IE8 on all sites using D7. Some sites actually stop you from logging in.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Zune 4.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Wed, 23 Jun 2010 14:44:54 UTC


Message: Invalid argument.
Line: 1061
Char: 4
Code: 0
URI: http://couples2connect.com/plugins/jquery/jquery.js

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 23 Jun 2010

ok. The fix for this error is pretty simple...

but beware if you fix this more errors will arise than you possibly can fix....

the replacement at line 926-927 should be:

if( set ) elem.name = value;

return elem.name ;

as a javascript programmer will notice when looking at this code is that name was defined as an Attribute to the elem object... so the old syntax.... passes a var to an array and as elem is not an array... this will fail...

Beware if you change this that things in IE will mess up even more.... see at the top of browser what happens.... and all the dialogs will look weird... as this routine starts working and all dolphin is based on this code... so repetative bad things happen in layout.... aaaaaaaaaaaaaaaaaaaaaaa

really this guys don't even think about IE users... otherwise... the fix was so simple...

All the best!

Andrea

Quote · 1 Jul 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.