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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -