Skip to content

Entries: Document $.fn.labels #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Entries: Document $.fn.labels #271

wants to merge 2 commits into from

Conversation

jzaefferer
Copy link
Member

Fixes #270

<p>This can be used to find all the <code>&lt;label&gt;</code> elements associated with an <code>&lt;input&gt;</code> element. The association can be through nesting, where the label is an ancestor of the input, or through the <code>for</code> attribute on the label, pointing at the <code>id</code> attribute of the input. If no labels are associated with the given element, an empty jQuery object is returned.</p>
<p>This methods mimics the native <code>labels</code> property, which isn't supported in all browsers. In addition, this method also works for document fragments.</p>
</longdesc>
<added>1.12</added>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be inside a <signature>.

@scottgonzalez
Copy link
Member

Docs look good, just one small change to the structure.

@arschmitz
Copy link
Member

LGTM

@jzaefferer
Copy link
Member Author

Updated

jzaefferer added a commit that referenced this pull request May 7, 2015
@jzaefferer
Copy link
Member Author

Landed d07a2f4 in 1-12, also fixed the position signature in b5d9008.

@jzaefferer jzaefferer closed this May 7, 2015
@jzaefferer jzaefferer deleted the labels branch May 7, 2015 14:41
jzaefferer added a commit that referenced this pull request Sep 30, 2015
jzaefferer added a commit that referenced this pull request Oct 28, 2015
jzaefferer added a commit that referenced this pull request Oct 29, 2015
jzaefferer added a commit that referenced this pull request Dec 17, 2015
jzaefferer added a commit that referenced this pull request Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants