I try to get an attribute of a div element using jQUery 1.6.2
html
<div id="scroller" loop="2"></div>
js
$('#scroller').attr('loop')
The above js would always return undefined.
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?
I do this becoz of using a library for scrolling text.http://remysharp.com/2008/09/10/the-silky-smooth-marquee/