阅读背景:

使用动态输入将表单数据序列化为JSON

来源:互联网 

I am trying to serialize my form data (name arrays) and so far I am only able to serialize the last object in the array. I can dynamically append a set of form fields and when I click submit it will still only append the new (last) object in the array. I've tried a lot of different ways to do this and this is the closest I've come. Here is the code in a playground - I am trying to serialize my form data (name arr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: