Skip to content

Instantly share code, notes, and snippets.

@goldhand
Created August 10, 2013 05:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldhand/6199256 to your computer and use it in GitHub Desktop.
Save goldhand/6199256 to your computer and use it in GitHub Desktop.
for the sub categories
/**
* User: goldhand
* Date: 8/9/13
* Time: 10:52 PM
*/
var tcl = $('#task-category-list').find('ul').each(function(i) { console.log($(this).parent().attr('id')); console.log($(this).sortable('toArray'));});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment