Two .sortable() tables in one mfc view?
JavaScript
1
Posts
1
Posters
0
Views
1
Watching
-
I have two tables in two partial views both tbody.sortable(); When they are loaded one at a time they sort, drag n' drop. Load both partials and thier tables and only the second of the two sort. Pfft, this will be easy to fix I thought. partial#1 $('tbody').sortable(); partial#2 $('tbody2').sortable(); No! This fixes the first broken table but breaks the second one. Reading the Jquery API documentation for .sortable() mentions tbody exclusively as if it's looking at only the tag and not the class. And I screwed or just wrong?