$(this +”selector”) ? $(“img”,this) possible?

What’s the most optimal way to do this?

Both $(this).find('img') and $('img', this) are equivalent.

From the docs:

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

http://api.jquery.com/jQuery/

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)