From d64fa2ba261d8ab69b7b16cf61068ada100410b0 Mon Sep 17 00:00:00 2001
From: Jesse McCarthy Given a jQuery object that represents a set of DOM elements, the Given a jQuery object that represents a set of DOM elements, the .
---
entries/closest.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/entries/closest.xml b/entries/closest.xml
index 196b7bd1..545bd09f 100644
--- a/entries/closest.xml
+++ b/entries/closest.xml
@@ -29,13 +29,13 @@
.closest()
method searches through these elements and their ancestors in the DOM tree and constructs a new jQuery object from the matching elements. The .parents()
and .closest()
methods are similar in that they both traverse up the DOM tree. The differences between the two, though subtle, are significant:.closest()
method searches through these elements and their ancestors in the DOM tree and constructs a new jQuery object from the matching elements. The .parents()
and .closest()
methods are similar in that they both traverse up the DOM tree. The differences between the two, though subtle, are significant:
-
.closest()
- .parents()
+
+ .closest()
.parents()