Search and Top Navigation
#5911 closed bug (notabug)
Opened August 06, 2010 04:34PM UTC
Closed August 06, 2010 05:26PM UTC
Last modified October 11, 2012 09:15PM UTC
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"
Please report this in jQuery's bug tracker.