Skip to main content

Bug Tracker

Side navigation

#12012 closed bug (duplicate)

Opened July 04, 2012 03:02PM UTC

Closed July 05, 2012 01:11PM UTC

Last modified July 05, 2012 01:11PM UTC

unable to disable 'readonly'

Reported by: asterie.n@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Hello, I use

Google Chrome Version 20.0.1132.43

Iceweasel/3.5.16 (like Firefox/3.5.16)

the problem is :

I invoke $(selector).removeAttr('readonly'),but the element is still readonly... I tried as well :

$(selector).prop("readonly", false);

$(selector).attr("readonly", false);

$(selector).attr("readonly", '');

but the <input> is it is still readonly

Attachments (0)
Change History (2)

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

resolution: → duplicate
status: newclosed

Use .prop().

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

Duplicate of #9879.