Assign a css property to each div while iterating through loop
Hi ,
I have a loop below where i am trying to iterate over couple of tables and trying to assign the css values individually for each table, but when i do this i am ending up with the last value that is assigned for the last table.
How can i assign individual values for each table
$('.iptableNew').each(function () {
var leftCalNew = lPostion * 40;
var topCalNew = Tposition * 40;
$('.iptableNew').css({ 'position': 'absolute', 'top': topCalNew, 'left': leftCalNew });
})