> If it doesn't break anything else, then we should probably get this
> and the fix for #164 in SVN and get another point release out the
> door.
I just added a little something to attr, and according to the test suite, the
problem known as bug #164 is now fixed. I'm not yet convinced that there aren't
any side effects, so please run the latest revision against any other tests you
got.
The idea for the "fix" was simple: IE bails when "executing" elem.getAttribute
in that special XML context, so we just prevent it from doing so:
} else if ( (jQuery.browser.msie || elem.getAttribute != undefined) &&
elem.tagName ) { // IE elem.getAttribute passes even for style; Do not "call"
elem.getAttribute in IE <- weird crap
It seems to work...
--
Jörn Zaefferer
http://bassistance.de
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/