Look at this code for example
$div = $('#my div');
$ul = $('#somewhere ul');
How can I perform a jQuery method on both of them? For example, would this work? What is best practice here?
$($div, $ul).addClass('my-new-class');
Wouldn't that search $div under a context of $ul ?
Thank you