Click here to Skip to main content
13,868,298 members
Rate this:
Please Sign up or sign in to 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[^]
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190214.1 | Last Updated 13 Jun 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100