I recently read three O'Reilly books, which we generally call beast books (the name of one of my classmates is very similar to mine, lol), and I have always wanted to do a sample to practice my skills, because many companies use dynamic forms, so , I tried to use js to make a dynamic form, and used the firfox browser to debug it, because the firbug plug-in is better to use. Originally, I wanted to implement a small function. I didn’t want to do so much, just click the button to add a row. , and then more and more were added, and they became more and more beautiful. Post the source code so that everyone can learn together. If you have any questions, you can correct them. If you are a beginner in JS, please be merciful.
ps: I don’t know why the line number is not displayed above. I haven’t used it for a long time. The notes are clearly written and everyone can learn together.