diff --git a/entries/labels.xml b/entries/labels.xml new file mode 100644 index 00000000..bc7efd5f --- /dev/null +++ b/entries/labels.xml @@ -0,0 +1,29 @@ + + + .labels() + Finds all label elements associated with the first selected element. + +

This can be used to find all the <label> elements associated with an <input> element. The association can be through nesting, where the label is an ancestor of the input, or through the for attribute on the label, pointing at the id attribute of the input. If no labels are associated with the given element, an empty jQuery object is returned.

+

This methods mimics the native labels property, which isn't supported in all browsers. In addition, this method also works for document fragments.

+
+ + 1.12 + + + 100 + Highlight all labels of the input element + + + Firstname + + + +]]> + + + + +
diff --git a/entries/position.xml b/entries/position.xml index 97ca5307..cc86dbe9 100644 --- a/entries/position.xml +++ b/entries/position.xml @@ -8,8 +8,8 @@

This is a standalone jQuery plugin and has no dependencies on other jQuery UI components.

- 1.8 + 1.8 Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will be normalized to "right center", "top" will be normalized to "center top" (following CSS convention). Acceptable horizontal values: "left", "center", "right". Acceptable vertical values: "top", "center", "bottom". Example: "left top" or "center center". Each dimension can also contain offsets, in pixels or percent, e.g., "right+10 top-25%". Percentage offsets are relative to the element being positioned.