Input’s not editable after using Jquery Sortable

fry_coffeeJquery, I love it.

Here’s a little gotcha that I often overlook – especially when copy/pasting from the Jqueryui.com Sortable example.

If you have applied:

$( "#sortable" ).disableSelection();

Then when you finish your sorting, you won’t be able to edit any input boxes – yet check boxes and radios will still work.

The solution is mighty simple:

$( "#sortable" ).enableSelection();

Doh.

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *

This blog is kept spam free by WP-SpamFree.