zerpex — 2012-04-09T03:59:20-04:00 — #1
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 :/
Hope someone can answer this question!
Thank you guys!
ralphm — 2012-04-09T06:12:15-04:00 — #2
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.
aalicki — 2012-04-10T21:15:24-04:00 — #3
I've ran into this issue on IE 7/8. The solution for me at the time was to use input submits.