jquery animation callback - how to pass parameters to callback
- by Hans
I´m building a jquery animation from a multidimensional array, and in the callback of each iteration i would like to use an element of the array. However somehow I always end up with last element of the array instead of all different elements.
html:
<div id="square" style="background-color: #33ff33; width: 100px; height: 100px; position:…