How make object for POST request
<p>I need to make especial javascript object for AJAX request from <code>&lt;ul&gt;&lt;/ul&gt;</code>. I hope for your help</p>

<p>My particul worked code</p>

<p>link to JSfiddle <a href="http://jsfiddle.net/mbarinov/Qwd6T/19/" rel="nofollow">http://jsfiddle.net/mbarinov/Qwd6T/19/</a></p>

<pre><code>    $('button').click(function() {
    var info = new Object();
    var client = $(this).parent().find("ul li").each(function(index) {
        var name = $(this).attr("rel");
        var value = $(this).text().trim();
        info.Order = {
            name : value
        };
        console.log(info);
    });
});
</code></pre>

<p>list</p>

<pre><code>&lt;ul&gt;
    &lt;li rel="address"&gt;address&lt;/li&gt;
    &lt;li rel="phone"&gt;phone&lt;/li&gt;
    &lt;li rel="name"&gt;name&lt;/li&gt;
    &lt;li rel="summ"&gt;summ&lt;/li&gt;
    &lt;li rel="description"&gt;description&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>necessary post request</p>

<pre><code>Array
(
    [Order] =&gt; Array
        (
            [address] =&gt; address
            [phone] =&gt; phone
            [name] =&gt; name
            [summ] =&gt; summ
            [description] =&gt; description
        )

)
</code></pre>
