阅读背景:

当我在jQuery中复制HTML时,如何改变它的属性?

来源:互联网 

I am using jQuery to write a script that will completely dynamically duplicate the contents of an HTML div and then add a button to delete the corresponding "new div". I am basically using this as a way to add more fields to a form. I would've used an existing script, but all the ones out there seem to only add input fields and aren't very dynamic. This way, I can use the button to duplicate exactly what I want by adding it to the HTML and NOT the JavaScript. I am using jQuery to write a script that will c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: