⬅︎ Back to Button tag in bloody Internet Explorer
button is not a form tag that's why submitted value is inconsistant. If you need to have a form (submitting values), you should be using input type=button.
The VALUE should always be the value submitted with the form. But IE submits the button text and ignores VALUE. So once again IE has it wrong.
Nothing in the HTML4/5 standard says elements that are not form elements can behave just how the browser wants.
Comment
button is not a form tag that's why submitted value is inconsistant. If you need to have a form (submitting values), you should be using input type=button.
Parent comment
The VALUE should always be the value submitted with the form. But IE submits the button text and ignores VALUE. So once again IE has it wrong.
Replies
Nothing in the HTML4/5 standard says elements that are not form elements can behave just how the browser wants.