Limiting the number of items in a list - Sortable jQuery - 100% working

So you’ve got a couple of lists and you only want a certain number of items to placed in each list, and if the number of items in the list exceeds ur specified maximum, JQuery should cancel the even and revert everything back to how it was.

[![](http://2.bp.blogspot.com/-01F2627d0wI/TdUJIFh6tsI/AAAAAAAAAH8/Ju6gZ6NKiVk/s320/Screenshot-1.png)](http://2.bp.blogspot.com/-01F2627d0wI/TdUJIFh6tsI/AAAAAAAAAH8/Ju6gZ6NKiVk/s1600/Screenshot-1.png)
If you click on the screenshot ul see that the maximum number of elements in each of the columns is 4. Other than that everything is pretty much self explanatory.

Cheers