Home > Web Front-end > JS Tutorial > body text

基于Jquery的动态添加控件并取值的实现代码_jquery

WBOY
Release: 2016-05-16 18:19:10
Original
1205 people have browsed it
复制代码 代码如下:



Jquery动态控件

');
i++;
} else {
alert("最多只能添加8个");
}
});
$('.del-text').live('click',function(){
$(this).parent().remove();
i--;
});
});








添加文本框



先把前台的整理出来,项目临时有需求,先去忙了,稍后发后台取值的方法...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!