php - add form in javascript -


hello i've got form that

<form action="xx.php">   <div id="myform">   </div>   <button>add form</button>   <div id="clone">   </div> </form> 

and when user click on "add form", "myform" cloned "clone". know why form submitted, can reach input form "myform" , not input of cloned form (into xx.php). because cloned form created javascrpt ?

if "cloning" form, cloning 'name' attributes guess, after submitting won't work discussed in question: posting form fields same name attribute


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -