I want to apply css to dynamic div id.
var status = var status = item.down().next().innerHtml();
if(status == "test")
{
var c = 'item_'+i ;
c.style.backgroundColor = 'rgb(255, 125, 115)';
//'item'+ i.style.backgroundColor = 'rgb(255, 125, 115)';
}
here "item_" + i is a dynamic Ids of every rows.like item_1,item_2,item_3 etc. So I want to add css in some of the rows. ie . item_1 and item_3 or else.
So how can this possible.