Populate table from array using JQuery
问题 I have an array of 16 elements that I want to fill a table. I want it to have 2 rows with 8 cells in each row which is filled with the array. My problem is that when the table is populated, the table populates all elements into one row. I have not had much experience with JQuery and I want to try to get this to work. Any help is appreciated! Here is my code: //**********Javascript & JQuery********** var array = [1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8]; var count = 0; var totalCells = 8; function