I place below line of code within a loop,
for ( var i=1; i<=10; i++ ) {
var left = 0;
left += 20;
$('#item'+i).css({
'left': left
});
}
how can I make left value increment by 20? currently all is set to 20, it won't increase by 20.