klaus, u rock, it works like a charm...

can i ask u another question? what is the cleanest way to get an empty
jquery object? (a jquery object that doesnt have any elements selected)

-GTG


On 7/28/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
> 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
>
>

Reply via email to