- 7
- 0
- 约5.31千字
- 约 5页
- 2017-01-30 发布于重庆
- 举报
动态生成标签(多重)
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN /TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=/1999/xhtml
head
title new document /title
script type=text/javascript
!--
//驾驶证数组
var jszs=[A1,A2,A3,B1,B2,C1,C2,C3,C4,D,E,F,M,N,P];
//增加节点
var count=0;
function addEles(){
count+=1;
var table=document.getElementById(t1);
var tr=document.createElement(tr);
//car style
var td_kclx_1=document.createElement(td);
td_kclx_1.innerText=car style;
var td_kclx=document.createElement(td);
var text_kclx=document.createElement(input);
text_kclx.setAttribute(type,text);
text_kclx.setAttribute(id,kclx_+count);
text_kclx.setAttribute(name,kclx_+count);
text_kclx.setAttribute(onblur,checkJsz(this));
var span_kclx=document.createElement(span);
span_kclx.innerText= | ;
td_kclx.appendChild(text_kclx);
td_kclx.appendChild(span_kclx);
//students amount
var td_xysl_1=document.createElement(td);
td_xysl_1.innerText=students amount;
var td_xysl=document.createElement(td);
var text_xysl=document.createElement(input);
text_xysl.setAttribute(type,text);
text_xysl.setAttribute(id,xysl_+count);
text_xysl.setAttribute(name,xysl_+count);
text_xysl.setAttribute(onkeyup,checkInt(this));
var span_xysl=document.createElement(span);
span_xysl.innerText= | ;
td_xysl.appendChild(text_xysl);
td_xysl.appendChild(span_xysl);
//night test
var td_night_1=document.createElement(td);
var span_night_1=document.createElement(span);
span_night_1.innerText=is night test :;
td_night_1.appendChild(span_night_1);
var text_night_1=document.createElement(input);
text_night_1.setAttribute(type,checkbox);
text_night_1.setAttribute(id,sfyk_+count);
text_night_1.setAttribute(name,sfyk_+count);
text_night_1.setAttribute(onchange,showHide(this));
td_night_1.appendChild(text_night_1);
var td_night=document.createElement(td);
td_night.setAttribute(id,yk_+count);
td_night.setAttribute(style,display:none;);
var sp
您可能关注的文档
最近下载
- 大数据背景下制造业生产流程动态优化模型研究.pdf VIP
- T_GDJSKB 019-2024 城镇排水设施电子数据库建设技术规程.docx VIP
- 青海省西宁市大通回族土族自治县2024-2025学年高三上学期开学摸底考试语文试题.pdf VIP
- 2025年无人机驾驶员执照短距起飞与短距着陆技术专题试卷及解析.pdf VIP
- DB11_T 2430-2025 高标准农田建设规范.pdf VIP
- 2025年无人机驾驶员执照保险责任与免责条款专题试卷及解析.pdf VIP
- 2025年AWS认证基于CUR实现细粒度的项目制成本核算专题试卷及解析.pdf VIP
- DB11_T 2446-2025 滨水慢行系统规划设计导则.pdf VIP
- 医学统计学b-spss上机-秩和检验.pdf VIP
- DB11_T 2463-2025 城市道路隧道设计标准.pdf VIP
原创力文档

文档评论(0)