我正在嘗試使用 For 循環以 50 為增量填充 HTML 表的行。For 循環按預期工作,但在循環終止之前不會顯示表中的任何行。function a() { // ..... let number_of_rows = 10000 for (i = 50; i < number_of_rows; i += 50) { b(i) } // .....}function b(start_row) { //create rows dynamically and append to the html table}
HTML 中動態創建的表格行的顯示延遲
慕村9548890
2024-01-18 15:47:13