#5911 closed bug (notabug)
short description for attr() is misleading
Reported by: | eydaimon | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | [meta] ui.docs | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was wondering how to set an attribute, and I searched for attr. I found removeAttr() and attr() and since the description for attr() was "Get the value of an attribute for the first element in the set of matched elements" I was expecting to see setAttr().
I'm proposing the short description be changed to:
"Get/Set the value of an attribute for the first element in the set of matched elements"
Note: See
TracTickets for help on using
tickets.
Please report this in jQuery's bug tracker.