Permalink
Browse files

Updated selector syntax.

  • Loading branch information...
1 parent 0894837 commit 15f4b8ef602b00c92483b2dd21c3064c5d3fb187 @arb arb committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
@@ -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

0 comments on commit 15f4b8e

Please sign in to comment.