Will data order in post form be the same to it in web form?

后端 未结 6 534
春和景丽
春和景丽 2021-01-13 00:25

Assuming there are 5 inputs in web form





        
6条回答
  •  无人共我
    2021-01-13 01:04

    Well, the W3C recommendation on HTML forms does say:

    The control names/values are listed in the order they appear in the document.

    Still, I'd consider it a bit risky to have your app depend critically on that detail.

提交回复
热议问题