Friday 15 March 2013

javascript - Update form with new input fileds -


I'm using a wizard plug-in In that wizard, I have a form in which I'm dynamically new & lt; Input & gt; The field problem is that, when I submit submits in the post, I can not find new files.

How can I solve this problem?

Here's an example:

  & lt; Form id = "mydiv" & gt; & Lt; Input id = "submit" type = "submit" value = "submit" /> & Lt; / Form & gt; & Lt; Button ID = "BTN" & gt; Add & lt; / Button & gt; I = 0; ("& Lt; input name = 'test" + i + "' value = 'test' / & gt;"); I ++; Click $ ('# btn') (function () {$ ('# submit').}); $ ('Form'). Submit (function () {warning ($ (this). Serial tax ()); return false;});    

No comments:

Post a Comment