Opened 14 years ago
Closed 14 years ago
#3275 closed bug (invalid)
:readonly, :disabled
Reported by: | djot | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3 |
Component: | selector | Version: | 1.2.6 |
Keywords: | selector, selectors, readonly, disabled | Cc: | |
Blocked by: | Blocking: |
Description
- Hi,
how to select readonly or disabled form fields? Do selectors like :checked or :selected exist for them? If not - why not?
not working: $('input[readonly=true]') $('input[readonly="true"]') $('input:readonly') $('input').is(':readonly')
working! $('input[readonly=1]') but why readonly=true fails then?
djot -
Change History (1)
comment:1 Changed 14 years ago by
Component: | core → selector |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The way browser report this attribute varies.
This should do: