With $().Html (“< div> < /div>”);
This way, after dynamically adding the form elements, why is it difficult to bind plug-ins again?
You are adding plug-ins to dynamically add outside calls, calling a plug-in once in dynamic addition, which is equivalent to calling a plug-in after the generation is generated if you want the plug-in to come into effect once.
I also encountered such a problem, and finally I chose to use only one ID to call the date plug-in once, and then display it with pop-up.
You can take a look at jQuery’s delegate, which can solve your problem.
Inserting such a large paragraph at a time is too unfriendly to write code.
An event entrustment can be used to solve the problem