Ticket #2119 (closed bug: fixed)
|Reported by:||arrix||Owned by:|
I'm not sure whether this is a bug, it is confusing however.
<div id="div1" value="the value"></div> $('#div1').attr('value') //=> undefined
In html, property and attribute are usually equivalent and the terms are often used interchangeably. So I think jquery is doing the right thing.