0
Javascript Serial Number Reset
I have a table to add rows and delete rows dynamically but i also need to have serial number for each rows in ascending order. The problem is while adding it is working properly but after deleting a row the number is not resetting properly....couldn't figure out whats wrong... any help is appreciated.. I have the link to the code as follows... https://code.sololearn.com/WjE9Z3VlLY6A
3 Respostas
+ 5
This is my try on fixing your problem
https://code.sololearn.com/W5MMvfnBexyu/?ref=app
+ 1
You got to readjust serialNumber when delete a row
0
Wow thank you so much...I spent a couple of hours figuring this out... thanks guys