如何控制按钮的出现?急!谢谢! <input type=button value=消失 onclick=demo.style.display='none'><input type=button name=demo> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input type=button value=操作 onclick="with(demo.style)display=(display=='none'?'':'none')"><input type=button name=demo value=显示> 在运行的时候总是提示"demo"未定以啊?谢谢啦 <input type=checkbox onclick="document.all.aaa.style.display=(this.checked)?'':'none'"><input type=button value=ok name=aaa style="display: none"> <input type=button value="aaaaaaa" onclick="sec.style.display=''"><table id=sec style="display:none"><tr><td><input type=button value="bbbbbb"></td></tr></table> 怎么这些人水平都这么低哦!!!这么easy的问题!!!<input type=button value="aaa" name="aaa" onclick="show_hide()"><input type=button value="bbb" name="bbb" style="display:none"><script>function show_hide(){if(bbb.style.display=='none'){bbb.style.display='block';}else{bbb.style.display='none';}}</script> JQuery怎么实现页面刷新后保留鼠标点击addclass的样式 求高人修改一小段JS代码! 如何使用自己的播放器播放土豆等站点的视频 js setTimeout 是否有方法,直接弹出显示文件选择框,而不用通过点击浏览按钮弹出 js+层 效果(100分) window.onload=function()这个方法在一个页面中不能出现多次? js cookies问题 如何把这个树型菜单放在一个表格里 怎么样给<input type="file" name="file1">设置初始值? 请问: 如何,用javascript使超连接失效!
<input type=button name=demo value=显示>
<input type=button value=ok name=aaa style="display: none">
<table id=sec style="display:none">
<tr><td>
<input type=button value="bbbbbb">
</td></tr>
</table>
<input type=button value="bbb" name="bbb" style="display:none">
<script>
function show_hide()
{
if(bbb.style.display=='none')
{bbb.style.display='block';}
else
{bbb.style.display='none';}
}
</script>