In jQuery, selecting more than one element can be done like this:
$("#id1,#id2").show();
But when I have two jQuery objects, I don't seem to be able to select more than one using the variables themselves. For example:
var jqId1 = $("#id1");
var jqId2 = $("#id2");
$(jqId1).show(); // This works.
$(jqId1,jqId2).show(); // This only shows jqId1.
See jsFiddle: http://jsfiddle.net/jr9Q2/
Is there another way of specifying multiple jq variables as selectors?