News for hackers. Stuff that matters.
Re:Why I still prefer Prototype to jQuery by GrandMasterBirt on Monday January 12, 2009 @07:54PM (#431432)
Argument order:

jQuery

$.each(collection,function(){ this.bla(); });

The reason index is first param is because wheb you need it it is the only param. The reason for the item param is incase you need to attach a scope object to be this!

There are no comments on this comment yet.