Ganeshji Marwaha wrote:
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
You could try this (untested): var isEqual = !$("p").not( $("p.foo") ).length; --Klaus