In my code, I'm trying to create and fill a HTML table for x times, but it loops maximum 4 times
for (var i = 0;i<x;i++) {
var row_element = document.createElement("TR");
for (var j=0;j<3;j++) {
var data_element = document.createElement("TD");
var random_value = random_result[i]
....
Thanks in advance
Page 1 / 1
No, there aren't any limitations. My guess is you are looking at the nested loop since it loops 4 times.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.