Button, button: Microsoft Internet Explorer sends form button content, not value
Button, button: Microsoft Internet Explorer sends form button content, not value
If you require buttons with HTML content, you can use the same trick in the name= field of a <button> tag. However, if your users are using Exploder 6, you still cannot use multiple <button> tags in a single form because it moronically sends all buttons in the form, not just the one which was pressed! (Note that this doesn't happen with multiple <input type="submit"> buttons—that would be too consistent for Microsoft.) This has been fixed in Exploder 7, but unless you don't care about users who have yet to “upgrade” to that piece of…software, you're going to have to stay away from <button> entirely.
Using Multiple "buttons" Elements in IE6
沒有留言:
張貼留言