for(var div_count=0;div_count<10;div_count++)
{
$("#div_"+div_count).append("<div style="'margin-left:'+incr_count+"px;>Hello<div>");
incr_count=incr_count+ 80 ;
}
The above Code is not Working. But when i hard code the value to margin-left. It Works. I think it’s a syntax pblm. can anyone correct me.
Thanks.
1 Answer