IE 7 button form submit

So Internet Explorer doesn’t like the <button> tag. When you click on a button in a form, it submits all the buttons in the form, not just the one you pushed. Also, IE doesn’t submit the value attribute of a button, it submits the text of it. This can be very frustrating. IE likes <input> tags, but they are limited on what you can do with them with CSS.

Workaround: Call some other JavaScript to submit the form and use url params to tell the server what button you pressed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s