Ie11-only Submit Bug
Solution 1:
The problem appears when a form only has input elements without a name
attribute (or no input elements). I found a reference to the bug here, though it also happens in desktop mode and not just metro mode as the link claims:
The fix is to create a dummy <input type="hidden" name="dummy" value="something">
field (with a name and value set) before submitting the form.
The bug happens in all compatibility modes offered by IE11.
Solution 2:
I just spent WAY too much time on this bug. The crazy part is, IE11 allow the form submission if you have the dev tools (f12) open. This is what I put before my submit button:
<inputtype="hidden"name="ie11sux"id="ie11sux"value="<?phpecho md5(microtime()."ie11sux"); ?>"/>
Solution 3:
It's a bug in IE11. You can fix it if you add a name attribute to the button, like:
<button type="submit" name="foo" ...
Solution 4:
A form without named element will result in an infinite loop on submit on IE11 + W8.1. To fix that, simply add an attribute name to the button:
<formaction="form/submit"method="post"><inputtype="submit"name="cm"value="Submit"></form>
Solution 5:
This doesn't directly relate to OP's question, but is an IE-only form submission issue:
If you happen to set form.prop('disabled', true)
during the submit event, other browsers will still send the form data, but IE will not - it'll send an empty request body.
Post a Comment for "Ie11-only Submit Bug"