Wednesday, October 1, 2008

[jQuery] Order of elements in a jquery object

 

I make a query, say using a class selector.

I will get a jquery object back.

I can iterate over that object using each().

Is there a guaranteed order that the elements in this object will be exposed in the each loop?

If so, what is it?

 

I have looked around and I can’t seem to find this documented anywhere. If this is address somewhere, sorry.

 

Thanks

-Geoff

 

No comments: