Side navigation
#9189 closed feature (duplicate)
Opened May 09, 2011 10:35AM UTC
Closed May 10, 2011 08:37PM UTC
Last modified May 10, 2011 08:37PM UTC
Add helper functions .checked() and .disabled()
Reported by: | Ariel <asjquery@dsgml.com> | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Attachments (0)
Change History (4)
Changed May 09, 2011 02:37PM UTC by comment:1
component: | unfiled → attributes |
---|---|
type: | enhancement → feature |
Changed May 09, 2011 03:17PM UTC by comment:2
description: | Per what Dave Methvin wrote in http://news.ycombinator.com/item?id=2512325 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. → 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. |
---|
Is this almost a duplicate of #7441 ?
Changed May 10, 2011 08:37PM UTC by comment:3
priority: | undecided → low |
---|---|
resolution: | → duplicate |
status: | new → closed |
Close enough I think. We only need one ticket for these methods.