+ 1

How can I Add and Delete Table Rows using html and javascript?

https://code.sololearn.com/WRN2JLwLfZ0z/?ref=app https://code.sololearn.com/W3A25XjonnMy/?ref=app Hi there, I have the above code and I want to add Every Table Row into array and delete it again anytime. Table rows can be added using a button like above but have to be deleted by clicking on the table row not using the button. Every row has to be added into array and deleted again when the row is clicked.

2nd May 2021, 2:57 AM
Robert M
Robert M - avatar
1 Réponse
+ 1
This logic will help you a lot have a look : https://www.sololearn.com/learning/2819/
2nd May 2021, 3:16 AM
Ayush Kumar
Ayush Kumar - avatar