Using multiple elements with variables
Hi,
I know that I can apply multiple elements like this:
$('.element-1', '.element-2').show();
But if I put those elements in variables like this:
var $elem-1 = $('.element-1'),
$elem-2 = $('.element-2');
How should I change this:
$('.element-1', '.element-2').show();
to use with those variables?
Thanks