阅读背景:

如何在php中获取动态生成的输入字段的值?

来源:互联网 

I'm working on a form where I have 2 fields which can be added N number of times. I have 2 fields called "fieldA" and "fieldB" and a button called "addrow" . So as many times I click on addrow I add fieldA and fieldB beneath previous fieldA and fieldB. So I can have unlimited fieldAs and unlimited fieldBs. I use jquery to add rows and append new fields with number behind each field's name attr to make it unique. So first set of fields will be named as fieldA1, fieldB1 and second set will be named as fieldA2 , fieldB2 and so on. I'm working on a form where I have 2 fields whi




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

分享到: