Ajax search system expand - clone by click
Hello,
i work on a form, who a user can add details about a customer and choose products wich the customer bought.
For this i used an ajax autocomplite script i found on this page :
click here
The function works nice already. And i get the details and product as email, but i would expand like that:
If the user chose a product (by clicking on a product), the table row should be dublicated and the user should add another product.
I changed already small things but the main code is on the linked page already.
How i can realize that ?