[Solved] jQuery append content increase [closed]


See this updated fiddle: http://jsfiddle.net/huZzq/7/

Since you are having a count in cur variable, it can be used with eval() function as follows :

b.append(eval('i' + cur));

For removing :

var index = c.attr("value").replace("-","");
(eval('i' + (index))).remove();

2

solved jQuery append content increase [closed]