title: How to retrieve elements from sortable into array
body: <p>So i have been working in this:(<a href="http://jsfiddle.net/2phuW/5/" rel="nofollow">http://jsfiddle.net/2phuW/5/</a>) for the last couple hours.
  Could anyone help me out to figure out the following:</p>
  
  <p>1) in the source sortable the abbreviation wat, ura, or mox needs to be shown
  2) when the target is filled, :params[:ready] = true
  3) when the target is filled the following code updates accordingly </p>
  
  <pre><code>   &lt;ul&gt;
    &lt;li&gt;&lt;i class="icon-edit"&gt;&lt;/i&gt; Not ready &lt;/li&gt;
    &lt;li&gt;&lt;i class="icon-check"&gt;&lt;/i&gt; Ready &lt;/li&gt;
    &lt;/ul&gt;
  </code></pre>
  
  <p>4) when the target is filled, :params[:comp] gets the sorted elements of the target as an array: ie-> [:wat,:ura,:mox,:wat,...]</p>
  
  <p>Thanks in advance</p>