Submitting form elements with the same name

前端 未结 6 1132
自闭症患者
自闭症患者 2020-12-05 21:10

I have a form which allows the user to create extra \"rows\" using JQuery (using .clone) so that they can decide how many of the same information they need to submit. My iss

6条回答
  •  佛祖请我去吃肉
    2020-12-05 21:39

    I ended up realising that (blush) the mechanism which JQuery uses to find the string within the cloned row (to replace) is basically regex. Thus I just needed to escape the square brackets and period. Once I did this I was able use JQuery to create form as Phil Haack's blog suggested.

    Onto my next issue...!

提交回复
热议问题