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 comment:1
component: | unfiled → attributes |
---|---|
owner: | → anonymous |
priority: | undecided → low |
status: | new → pending |
Changed July 28, 2011 10:29AM UTC by comment:2
status: | pending → new |
---|
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 comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
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.
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.