To know the left position of a array of div in jQuery
<p>i have an array of same class div and i want to know the left position of each of the div.so i use the each function. i cant found the exact. it only show the first div left position.</p>

<p>my code is like that..</p>

<pre><code>      jQuery.each(jQuery('.selected-item'), function(index, selectpos) {
        selectpos = jQuery('.selected-item').position();
        console.log(index + ':' + selectpos.left);
      });
</code></pre>

<p>selected-item class is the same class of many divs and i want to know the each div position.</p>
