When passing a context to the selector, is it better to pass this
or $(this)
? I tried the latter and it worked; the doc mentioned the former.
$('.link').on('click', function () {
$('.element', this).addClass('something');
// or, $('.element, $(this)).addClass('something'); ?
}