Input attributes that can have the same “name”

前端 未结 7 699
野的像风
野的像风 2020-12-10 14:12

I noticed that if you have a couple of radios together, you are required to make the name attribute identical on all of them in order for the radios to work as expected:

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 14:37

    Well, technically all that matters is the URL string generated. So you could theoretically have two submit buttons with the same name...

提交回复
热议问题