Guess what?

var e1 = $("#firstObject");
var e2 = $("#secondObject");

e1.add( e2 ) is exactly what you're looking for :)

http://docs.jquery.com/Traversing/add#expr

On Jul 23, 1:17 am, NeilM <neil.mar...@abilitation.com> wrote:
> Does anyone know if it is possible to join two jQuery objects to make
> a new object.  For example...
>
> var e1 = $("#firstObject");
> var e2 = $("#secondObject");
>
> var combined = e1.add(e2);  // This is the expression I'm looking for
>
> Thanks.

Reply via email to