Dynamically generated form field loses value when new field is added – vanilla javascript
I am generating a dynamic fieldset with javascript. For adding fields, I use the following function (this function actually adds more than one field) //add test I use innerHTML instead of append because there is a lot of code i’d have to append, the markup is so much shorter this way. Now, my problem is that whenever I add … Read more