+ 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

21st Jun 2019, 1:27 PM
siddharth
siddharth - avatar
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
15th Aug 2019, 3:05 PM
Alphin Davis Pomy
Alphin Davis Pomy - avatar