Tabs and content into Array
<p>I have two tabs like in this example:</p>

<pre><code>&lt;div id="tabs"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#tabs-1"&gt;me&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#tabs-2"&gt;you&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div id="tabs-1"&gt;
&lt;ul id="sortable1" class="connectedSortable ui-helper-reset"&gt;
  &lt;li class="ui-state-default"&gt;Item 1&lt;/li&gt;
  &lt;li class="ui-state-default"&gt;Item 2&lt;/li&gt;
  &lt;li class="ui-state-default"&gt;Item 3&lt;/li&gt;
  &lt;li class="ui-state-default"&gt;Item 4&lt;/li&gt;
  &lt;li class="ui-state-default"&gt;Item 5&lt;/li&gt;
  &lt;/ul&gt;
   &lt;/div&gt;
   &lt;div id="tabs-2"&gt;
  &lt;ul id="sortable2" class="connectedSortable ui-helper-reset"&gt;
  &lt;li class="ui-state-highlight"&gt;Item 5&lt;/li&gt;
  &lt;li class="ui-state-highlight"&gt;Item 6&lt;/li&gt;
  &lt;li class="ui-state-highlight"&gt;Item 7&lt;/li&gt;
  &lt;li class="ui-state-highlight"&gt;Item 8&lt;/li&gt;
  &lt;li class="ui-state-highlight"&gt;Item 9&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
</code></pre>

<p>I want to turn all of it into array's : me=>1,2,3,4,5  you=>5,6,7,8,9 any ideas? Thought maybe sortable1&lt; li.index and give every li id but how to connect it with tab? Little help would be nice.</p>
