-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter() works differently from is()? #64
Comments
When you get the children of the document you get the HTML element only, try finding children of the body and it should work |
As arexkun said, children only goes one level down, so you should expect 1, false, 0. http://jsfiddle.net/timmywil/HdwDW/ You can get support for jQuery on the #jquery irc channel or at http://forum.jquery.com/Using_jQuery. |
Okay, my MWE was clearly bad, but I did actually have a problem that made sense, I think. Please take a look at this; thanks: (Also, |
Okay, thanks! It'll work for now if I just add the |
Somehow this doesn't work. I'd expect to see in the console
1
,true
,1
, but instead it's0
for the one usingfilter
.The text was updated successfully, but these errors were encountered: