The .find function only work for nearest element?

Like when use:


So with .find only can select the nearest element for it? Like if I want inside span like CSS span > div that way? How select this with find or allowed?


Did you look at the docs for .find()? It looks through all descendants and accepts the same selectors as $() does.

It might be easier if you give a live example of what you are trying to do.

1 Like