Skip to main content

Bug Tracker

Side navigation

#9252 closed bug (worksforme)

Opened May 12, 2011 09:55AM UTC

Closed May 12, 2011 02:24PM UTC

Internet Explorer 9.0 crashes when removing an attribute that contains ":", if it's not set already

Reported by: Owned by:
Priority: low Milestone:
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Internet Explorer crashes (page crashes completely, and is reloaded) if you use jQuery.removeAttr('test:attr'); if the attribute test:attr is not set. This only happens with attributes that contains ":". This is probably an internet explorer bug, but there's an easy fix to prevent this from happening since it's pretty bad, so it could be implemented in the jQuery removeAttr function.

if(typeof jQuery(this).attr(value) !== 'undefined' && jQuery(this).attr(value) !== false) {



You get the just of it..

Attachments (0)
Change History (1)

Changed May 12, 2011 02:24PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → worksforme
status: newclosed

No crash or error happens for me.