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.


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.