Comment

Peter Bengtsson

Exactly. Perhaps it's not IE's fault but the <button> tag's fault. Either way, it can't be used.

Parent comment

Peter Bencsik

IE makes you suck again. I have the same problem with it. I have a form with multiple tags, like this: In-silico research (),... In Firefox if I press the button, I get these post values: removemethod=3 In IE: removemethod=- So it always send the text between the and not the value.

Replies

Patrik Granlöv

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.

Anonymous

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.

Anonymous

Nothing in the HTML4/5 standard says elements that are not form elements can behave just how the browser wants.

ma.pelletier

there is no such thing as <button type="submit"> the thing you're looking for is <input type="submit">

Brandito Designs

actually it's just <button>, type="reset" is an option but type="submit" is a <button> elements default.