title: How to use the nestedSortable serialize function
body: <p>So, I'm using the <a href="http://mjsarfatti.com/sandbox/nestedSortable/" rel="nofollow">nestedSortable</a> plugin and I need to send the data back to a rails application using the "awesome_nested_set" gem. I would like to use the serialize function built into the nestedSortable plugin, but I don't understand how to use it.</p>
  
  <p>When I try to view the source with firebug on the plugin's site, I can't seem to find where the "serialize" demo takes place, so I just assumed that this is how it would work, but it doesn't:</p>
  
  <pre><code>$(document).ready(function() {
      $('ol.sortable').nestedSortable({
          disableNesting : 'no-nest',
          forcePlaceholderSize : true,
          handle : 'div',
          helper : 'clone',
          items : 'li',
          opacity : .6,
          placeholder : 'placeholder',
          revert : 250,
          tabSize : 20,
          tolerance : 'pointer',
          toleranceElement : '&gt; div'
      });
      $("#send").click(function(){
          var data = $("ol.sortable").serialize();
          alert(data);
      });
  });
  </code></pre>
  
  <p>Thanks for any help!</p>