Click here to Skip to main content
16,021,112 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have this code below that allows me to move the values from Green Fruits Table to Random Fruits Table by clicking on the row and vice versa. But the problem is when i move the values to another table the number beside the table header is not dynamic is there any easy way to make it update every time i move a row to another table? Any help would be greatly appreciated thanks!

What I have tried:

Here is my JSFiddle[^]
Posted
Comments
Mohibur Rashid 13-Jun-18 23:05pm    
add this in your console.log($("#fruityid")[0].rows.length - 1); in your code and see if you can make a good use of this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900