Each time the callback runs, it is passed the current loop iteration, beginning from 0. ... Example: Iterate over three divs and sets their color property.
api.jquery.com