Friday, January 15, 2010

Re: [jQuery] Resolved

Wouldn't this just compare the first element of the list of objects returned?

Amos

On Fri, Jan 15, 2010 at 3:45 AM, Sébastien BEIRNAERT <beirnaert.sebastien@gmail.com> wrote:
I found out how to compare 2 JQuery object : juste add [0] at the end
of the JQ object
ex : $('div.block01')[0] == $('div.block02')[0]

Worked great for me

Bye

Sébastien



--
Amos King
http://dirtyInformation.com
http://github.com/Adkron
--
Looking for something to do? Visit http://ImThere.com

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate