Duplicate a span without Clone?

cemertem

New Member
Hi I'm creating an ingredients app that has a form that looks like:http://jsfiddle.net/PZjfT/As you can see, there is a \[code\]span\[/code\] containing 2 textfields, and a select. You can delete any span by clicking on the X next to it. My problem is that I'm using jQuery Clone, so if you delete all of the spans, then click "Add Ingredient", there is no divs to clone, so it doesn't add an ingredient. How could I fix this? Thanks for any and all help!
 
Back
Top