Mehdi Kabab schrieb:
> Hi,
>
> I'm encountering a bug in removeAttr() method.
> Under IE, removeAttr's action doesn't work.
>
> You can test this in this page :
> http://gimp4you.eu.org/sandbox/js/test/removeAttr.html
>   
After a second thought, maybe something like this could fix it. Extend this:

removeAttr: function( key ) {
        this.removeAttribute( key );
},

to this:

removeAttr: function( key ) {
        jQuery.attr(this, key, "");
        this.removeAttribute( key );
},

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to