[jQuery] jQuery object equality

2007-10-11 Thread Adrian Lynch
Am I right in thinking that you can't test for equality of jQuery objects? alert($("#saveForm") == $("#saveForm")); // false alert($("#saveForm") === $("#saveForm")); // false alert($("#saveForm").get(0) == $("#saveForm").get(0)); // true alert($("#saveForm").get(0) === $("#saveForm").get(0)); //

[jQuery] jQuery object equality?

2007-07-28 Thread Ganeshji Marwaha
Hi, I was wondering if there is an easy way to see if 1 jquery object is equal to another jquery object in terms of its contents selected? Thanks -GTG