Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated selector syntax.

  • Loading branch information...
commit 15f4b8ef602b00c92483b2dd21c3064c5d3fb187 1 parent 0894837
@arb arb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Readme.md
View
2  Readme.md
@@ -220,7 +220,7 @@ $('.pear').parent().attr('id')
//=> fruits
```
-#### .parents(selector)
+#### .parents([selector])
Get a set of parents filtered by `selector` of each element in the current set of match elements.
```js
$('.orange').parents().length
Please sign in to comment.
Something went wrong with that request. Please try again.