如何实现文本框在需要时再显示? <body><a href="#" onclick="a.style.display=''">我愿多填一部分</a><br><input type=text style="display:none" id="a"></body> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <table><tr><td>姓名</td><td><input type=text id="a"></td></tr><tr id="id1" style="display:none"><td>年龄</td><td><input type=text id="a"></</td></tr></table>在你需要的地方控制其显示与隐藏if ()id1.style.display = ""elseid1.style.display = "none"; 急求js高手,帮忙改下 三中动态加载及相关问题总结 请教 java js 如何 调用 快播播放器 如何得到a中的文字 急需帮忙!省市联动的JS代码为什么总是出现stack overflow at line:xxx js showDialog 问题 怎么用createProcessingInstruction创建的xml总是得不到encoding? 下拉框和层的联动 救命呀!! 获取所有table表格里的name=mobile的值怎么写啊 -----------------------日期的问题-------------------------------- 大虾帮忙!!!!!
<tr>
<td>姓名</td>
<td><input type=text id="a"></td>
</tr>
<tr id="id1" style="display:none">
<td>年龄</td>
<td><input type=text id="a"></</td>
</tr></table>
在你需要的地方控制其显示与隐藏
if ()
id1.style.display = ""
else
id1.style.display = "none";