请问显示web页面上的button 的javascript怎么写呢? button1.style.display='' or button1.style.visibility='' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 显示button?这个样子?<script>function window.onload(){yunshui=document.getElementsByTagName("INPUT") for(i=0;i<yunshui.length;i++) if(yunshui[i].type=="button") alert(yunshui[i].outerHTML)}</script><input type="button"><input type="button"><input type="button"><input type="button"><input type="text"> <button>button text</button> 谢谢各位隐藏:document.all("bSave").style.display="none";显示:document.all("bUpdata").style.display="" cookies 求助,Extjs 分页不准确 html中如何直接调用javascript自定义的函数??? 中了病毒如何解决? 奇怪的form.submit()的问题,急,谢谢! 高手阿!!!!!!请帮忙解决 如何在JS的相册的图片上加上文字,不要用PS的方法 用javascript可以比较两个文件的日期吗? 点击下拉列表菜单中的选项,下拉列表消失 求问大佬:用于获取url中的属性值的getQueryString不能成功运行是为啥 如何让一个连接是word文档点击后是直接下载而不是打开? 不好意思,请问大家怎么收藏经典帖子到本地机器上啊?
<script>
function window.onload()
{yunshui=document.getElementsByTagName("INPUT")
for(i=0;i<yunshui.length;i++)
if(yunshui[i].type=="button")
alert(yunshui[i].outerHTML)
}
</script>
<input type="button"><input type="button"><input type="button"><input type="button"><input type="text">
隐藏:
document.all("bSave").style.display="none";
显示:
document.all("bUpdata").style.display=""