In IE8 enter key in a form does not work

后端 未结 14 2520
失恋的感觉
失恋的感觉 2020-12-17 08:55

I have a problem that in IE8 the enter does not work to submit a form. I have generated a test page to expose this problem. It seems that displaying the form in the on

14条回答
  •  猫巷女王i
    2020-12-17 09:28

    Old ticket, but I'd like to add what I think is the explanation:

    IE8 does the following peculiar thing: the Enter key will submit the form, but any

    
    

    won't be sent in the POST.

    IE9 changes the behavior and sends the value. Chrome has always sent the value, as far as my tests have shown.

    I hope this helps...

提交回复
热议问题