Hi,
I would select multiple DOM elements using a typical code such as this:
$('#ele1, #ele2, #ele3').click(function () {});
If I have variables of each DOM element, e.g.
var domEle1 = $('#ele1');
var domEle2 = $('#ele2');
var domEle3 = $('#ele3');
How can I select them all at once? Instead of individually...
domEle1.click(function () {});
Thanks!