Home > Web Front-end > JS Tutorial > Jqurey-based drop-down box changes dynamically add and delete tables implementation code_jquery

Jqurey-based drop-down box changes dynamically add and delete tables implementation code_jquery

WBOY
Release: 2016-05-16 18:09:13
Original
1426 people have browsed it

Rendering:
Jqurey-based drop-down box changes dynamically add and delete tables implementation code_jquery
When the drop-down box changes, add an adult to fill in the information or a child to fill in the information!

Copy code The code is as follows:





无标题文档














成人











乘客姓名:
证件号: 证件类型:





儿童











联系人姓名: 联系方式:





JavaScript代码还有可优化的,儿童和成人下拉框改变天津添加的信息是一样的!可以只定义一个变量,两个函数共同使用!
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