is it possible to have double nested input tag arrays in html?

后端 未结 2 1249
暗喜
暗喜 2020-12-17 19:26

I\'m wondering before I attempt to refactor my page if its possible to have a double nested input array in html. I have an 8X5 group of elements in a form and it would be ni

2条回答
  •  误落风尘
    2020-12-17 19:34

    HTML allows you to have several inputs with the same name, which are sent to the server through POST or GET as a comma separated array, which most (all?) server side languages recognize as a native array.

    There is no native way of making a multidimensional array with pure HTML without you rolling something yourself with javascript.

提交回复
热议问题