<button> submit problem?

Hi everyone,

For some time ago, I heard that using the <button></button> to submit a form, is not good - because IE submits the value of the button instead of the inputs in the form.
Is this true.?

Because currently I’m working with bootstrap, and I have this login button, which should contain the arrow icon too. like:

<button type=“submit” class=“btn btn-primary” name=“btnSubmit”>Login <i class=“icon-arrow-right”></i></button>

I can’t see how I should do it with a normal input button :confused:

Hope someone can answer this question!

Thank you guys!

I’ve not heard of that problem (or had that problem myself). Maybe it’s a problem with an old version of IE? Anyhow, you are better off placing the arrow as a background image on the button anyhow, and that gives you more possibilities then.

I’ve ran into this issue on IE 7/8. The solution for me at the time was to use input submits.