What’s wrong with buttons?

I had totally forgotten why I don’t use <button> elements:

  1. When using multiple buttons in a form, IE6 and IE7 sends the values of all of them
  2. IE6 and IE7 sends the innerHTML as the value of the button (ignoring the value attribute)

If you need a longer explanation, Drew McLellan has written about it.

---

There are 10 other entries posted on this day.