Skip to main content

Bug Tracker

Side navigation

#9879 closed bug (invalid)

Opened July 21, 2011 01:47AM UTC

Closed August 05, 2011 01:35PM UTC

Last modified July 05, 2012 01:11PM UTC

removeAttr('readonly')

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: None
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

I invoke $(selector).removeAttr('readonly'),but the element is still readonly in IE8.

Attachments (0)
Change History (6)

Changed July 21, 2011 05:59AM UTC by addyosmani comment:1

component: unfiledattributes
owner: → anonymous
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/

Open the link and click to "Fork" (in the top menu) to get started.

Changed July 28, 2011 10:29AM UTC by anonymous comment:2

status: pendingnew

Replying to [ticket:9879 anonymous]:

I invoke $(selector).removeAttr('readonly'),but the element is still readonly in IE8.

Same in IE9

Changed August 05, 2011 01:35PM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Please use .prop("readonly", false) to change the in-memory DOM state of the element. Attributes are, in general, only reliable when used to set the initial state as HTML markup is loaded.

Changed August 05, 2011 01:35PM UTC by dmethvin comment:4

#9978 is a duplicate of this ticket.

Changed August 11, 2011 03:27AM UTC by dmethvin comment:5

#10018 is a duplicate of this ticket.

Changed July 05, 2012 01:11PM UTC by dmethvin comment:6

#12012 is a duplicate of this ticket.