Ticket #2817 (closed bug: duplicate)
val() method doesn't work correctly for IE and <button />
|Reported by:||nberardi||Owned by:|
The val method seems to return the inner text of a <button /> in IE.
<button id="mybutton" value="1">Change Value</button>
In Firefox the value comes back as 1, however in IE the value comes back as "Change Value".
Note: See TracTickets for help on using tickets.