jQuery get element's attribute 'loop'
<p>I try to get an attribute of a div element using jQUery 1.6.2</p>

<p>html</p>

<pre><code>&lt;div id="scroller" loop="2"&gt;&lt;/div&gt;
</code></pre>

<p>js</p>

<pre><code>$('#scroller').attr('loop') 
</code></pre>

<p>The above js would always return undefined.</p>

<p>I try to upgrade jquery to 1.6.4, then the same js returns me the word 'loop'. Is this loop attribute a reserved attribute?</p>

<p>I do this becoz of using a library for scrolling text.http://remysharp.com/2008/09/10/the-silky-smooth-marquee/</p>
