Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Append one form to another jQuery [closed]

I have two forms, I would like to append all input fields from second form to the first form, dynamically during form one submission. I would prefer jquery. I would like to append as hidden input. I have working solution in javascript

like image 418
Emmanuel N Avatar asked Dec 30 '12 00:12

Emmanuel N


1 Answers

$("#form1").find(":input").appendTo("#form2");
like image 193
Jason Whitted Avatar answered Sep 30 '22 02:09

Jason Whitted