Can I, in jQuery, combine $(this) with another element selector?
views:
13answers:
1
+1
A:
It's:
$('.something', this)
They're equivalent, since this functionality (selector context) is actually implemented using find
. There's a similar example in the docs:
$('span', this) is equivalent to $(this).find('span').
Matthew Flaschen
2010-09-01 23:58:18