Here are the problems that I'm facing with a small jQuery script :
- In the input with value hello after I click on add button followed by clicking on remove, The link to add vanishes. What triggers this in jQuery?
- Upon clicking on add below the second input, a new link for remove is added for each input field that is added, I would want only one remove link that would remove the most recently added input field.
Check out My jsFiddle to see the problems in action.
divelements? Have you considered using a couple of fieldsets for the columns? (I'm assuming 'columns' from the name/class of some of thedivs, anyway). I can't help but feel there's a (much) simpler way to achieve what you want.