How to create array in jquery
<p>I want to create the width array of each children of selected element. I tried :</p>

<pre><code>var width = $(element).children().map(function () { return this.style.width; }); 
</code></pre>

<p>But this is not working. When i <code>alert(width[0])</code> then instead of showing width it shows <code>objectHtmlElement</code>. What i am doing wrong ?</p>
