How to limit the number of fileds to be added on a button in JavaScript?

前端 未结 0 1163
深忆病人
深忆病人 2020-12-01 00:39

I\'ve a code in which I have two buttons, which adds and deletes the form fields. I want to limit the number of adding option to 5.

Here\'s the code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题