Skip to content

24 ways to impress your friends

Vote down?

Bart Lewis

In regards to $(’.class .other’) versus $(’.class’).find(’.other’), the docs have this to say:

Internally, selector context is implemented with the .find() method, so $(‘span’, this) is equivalent to $(this).find(‘span’).