I have two connected tbody elements allowing me to drag rows between two tables. Everything works fine until all rows are removed from either table.
When all rows have
I know this question has been marked as "answered" but I also wanted to add another way to approach this.
What I do is check if the list empty, if so, create a new row element and inject it into the tbody. I put a message like "No more items" in the td.
Once an item is dropped into the "empty" list, the empty message will be destroyed.
I use Mootools hence the lack of example code.