function abc()
{
var str = ""; // -------------------(4)
for (var i = 0; i < 100 ; i++)
{
str = "<tr><td>"; // ------------------(1)
for(var m = 1 ; m <= cnt_chapter ; m++)
{
str = str + "<span>" + m +"</span> "; // -------------(2)
}
str = str + "</td></tr>"; // ------------(3)
}
$(".title").append(str);
}
This code is part of jquery code.
I want to make code between (1) and (3)
But don’t work (2) code.
What is the wrong of my code?
cnt_chapteris undifiend here also problem with appendDemo