阅读背景:

使用jQuery克隆textarea时如何防止克隆值

来源:互联网 

I am trying to clone a div on button click so that it basically added another field option to the blog post. I have everything working fine except one thing. When I clone the first div(acting kind of like a template) is also clones the val of the textarea. I want it to clone the div without any of the values within the input and textarea so it just shows the placeholder. I will provide my code below. Any help would be great!I am trying to clone a div on button click so t




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

分享到: