How to get element value in jquery list with unknown type
<p>I am having the below list in HTML</p>

<pre><code>&lt;ul id="sortable"&gt;
    &lt;li id="li1" class="ui-state-default"&gt;&lt;asp:Button Text='Test1' runat='server'/&gt;&lt;/li&gt;
    &lt;li id="li2" class="ui-state-default"&gt;&lt;asp:Button Text='Test2'  runat='server'/&gt;&lt;/li&gt;
    &lt;li id="li3" class="ui-state-default"&gt;&lt;asp:Button Text='Test3'  runat='server'/&gt;&lt;/li&gt;
    &lt;li id="li4" class="ui-state-default"&gt;&lt;asp:TextBox runat="server" Text='testing'&gt;&lt;/asp:TextBox&gt;&lt;/li&gt;
    &lt;li id="li5" class="ui-state-default"&gt;&lt;span class="ui-icon ui-icon-arrowthick-2-n-s"&gt;&lt;/span&gt;Item 5&lt;/li&gt;
    &lt;li id="li6" class="ui-state-default"&gt;&lt;span class="ui-icon ui-icon-arrowthick-2-n-s"&gt;&lt;/span&gt;Item 6&lt;/li&gt;
    &lt;li id="li7" class="ui-state-default"&gt;&lt;span class="ui-icon ui-icon-arrowthick-2-n-s"&gt;&lt;/span&gt;Item 7&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>now i want to alert the values when dragging the list items. 
For e.g if i drag the textbox then it should display the textbox value .</p>

<p>EDIT:
I am new to Jquery I have tried as shown below to get the ordered element now i want to know the value of the each list item ?? how to do this ??</p>

<pre><code> $(function() {
            $("#sortable").sortable({
                update: function() {
                    var ElementsOrder = $(this).sortable('toArray'); //.toString();                        
                    alert(JSON.stringify(ElementsOrder));
                    var xxx = { pages: $(this).sortable('toArray') };
                    alert(JSON.stringify(xxx));
                }
            });
        });
</code></pre>
