Modify ↓
Ticket #9189 (closed feature: duplicate)
Add helper functions .checked() and .disabled()
| Reported by: | Ariel <asjquery@…> | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description (last modified by rwaldron) (diff)
Per what Dave Methvin wrote in I am posting this as a reminder.
Add helper functions .checked() and .disabled() which manipulate or return their properties (just like val()).
I suspect that those two are the most frequently used attributes/properties, and adding those helpers would probably negate the majority of the confusion regarding properties.
Also there may be a speed increase since they can directly go to the dom .checked or .disabled for the element.
Change History
comment:1 Changed 2 years ago by timmywil
- Type changed from enhancement to feature
- Component changed from unfiled to attributes
comment:2 Changed 2 years ago by rwaldron
- Description modified (diff)
Is this almost a duplicate of #7441 ?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
