Ticket #7938 (closed bug: duplicate)
.val() returns innerHTML for button elements in IE7
|Reported by:||anonymous||Owned by:|
See ticket #1954 for full details including a patch, but the short version is:
This was reported back in 2007 before IE8 was released. A patch for it was attached but never applied. That ticket was closed in 2010 as worksforme based on testing in IE8, but Microsoft had fixed the underlying browser bug in IE8 while IE7 is still affected.
The workaround in that patch (using elem.getAttributeNode('value').value) works well in all my tests, but no-one is able to re-open #1954 to get it applied.