+ 1
how run div element in html repeatedly.
Using JavaScript loop how run div element in html repeatedly. I need to creat a seris of form For example In sola learn -> home tab -> activity feed There is a seiris of post . I what creat like
1 Odpowiedź
+ 2
In javascript type
var i;
for(i=0;i<n;i++){
document.write("<div class=class"+i+"></div>");
}
I hope this helps