Skip to main content

Bug Tracker

Side navigation

#6139 closed bug (invalid)

Opened February 21, 2010 12:26PM UTC

Closed June 18, 2010 02:38AM UTC

Last modified January 12, 2011 05:46AM UTC

Issue with removing size attribute with IE.

Reported by: gnucki Owned by:
Priority: Milestone: 1.4.2
Component: attributes Version: 1.4.1
Keywords: remove size internet explorer IE Cc:
Blocked by: Blocking:

jqObject.attr('size', '1');

alert(jqObject.attr('size')); You can see "1". Everything is ok.

This 2 next lines are ok on Firefox, Safari, Opera and Chrome but fail on IE.

jqObject.attr('size', '');


I replaced with:

for (i=0; i < jqObject.get(0).attributes.length; i++)


if (jqObject.get(0).attributes[i].nodeName == 'size')

jqObject.get(0).attributes[i].nodeValue = '';


No problem, it's working.

Attachments (0)
Change History (2)

Changed June 18, 2010 02:38AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Can you reopen with a complete test case? What element does jqObject refer to?

Changed January 12, 2011 05:46AM UTC by anonymous comment:2

This fiddle could demonstrate the issue:

Please open the fiddle in IE (any version start from 6 to 9beta)