Given a jQuery object that represents a set of DOM elements, the .first() method constructs a new jQuery object from the first matching element.
Given a jQuery object that represents a set of DOM elements, the .first() method constructs a new jQuery object from the first element in that set.
Consider a page with a simple list on it:
<ul>
diff --git a/entries/last.xml b/entries/last.xml
index 9c3823d3..c9327b68 100644
--- a/entries/last.xml
+++ b/entries/last.xml
@@ -6,7 +6,7 @@
Reduce the set of matched elements to the final one in the set.
- Given a jQuery object that represents a set of DOM elements, the .last() method constructs a new jQuery object from the last matching element.
+ Given a jQuery object that represents a set of DOM elements, the .last() method constructs a new jQuery object from the last element in that set.
Consider a page with a simple list on it:
<ul>
diff --git a/entries/slice.xml b/entries/slice.xml
index a2ab3a75..2658b739 100644
--- a/entries/slice.xml
+++ b/entries/slice.xml
@@ -12,7 +12,7 @@
Reduce the set of matched elements to a subset specified by a range of indices.
- Given a jQuery object that represents a set of DOM elements, the .slice() method constructs a new jQuery object from a subset of the matching elements. The supplied start index identifies the position of one of the elements in the set; if end is omitted, all elements after this one will be included in the result.
+ Given a jQuery object that represents a set of DOM elements, the .slice() method constructs a new jQuery object containing a subset of the elements specified by the start and optional end arguments. The supplied start index identifies the position of one of the elements in the set; if end is omitted, all elements after this one will be included in the result.
Consider a page with a simple list on it:
<ul>