I wAnt to create a dynamic table according to data And last column two radio button with same name . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I wAnt to create a dynamic table according to data And last column two radio button with same name .

https://code.sololearn.com/W2zz6f4mBe7n/?ref=app Table body template created in JavaScript get it html When domcontent loaded table will display

10th Jun 2020, 9:15 AM
Prince Chaurasia
Prince Chaurasia - avatar
1 Answer
+ 3
Don't put form in table loop over the array, and then you can use innerHTML or createElement and appendChild. the technique you need is in this video: https://youtu.be/1d90JmryqD4 For adding class to the element, the technique you need is in this video: https://youtu.be/NrE6675CjhA Your current console error is due to ASI, look at 3:20 of my second video, I am explaining the reason and the solution there.
10th Jun 2020, 2:36 PM
Gordon
Gordon - avatar