http://learn.jquery.com/using-jquery-core/iterating/
var sum = 0;
var arr = [ 1, 2, 3, 4, 5 ];
$.each( arr, function( index, value ){
sum += value;
});
No comments:
Post a Comment