<input type="button" value="讲解" style="VISIBILITY: hidden" name="aaaa">
<input type=button onclick="aa()"><script language=javascript>
function aa()
{aaaa.style.visibility = "visible";}</script>
<input type=button onclick="aa()"><script language=javascript>
function aa()
{aaaa.style.visibility = "visible";}</script>
<input type=button onclick="test()"><script language=javascript>
var flag=true;
function test()
{aaaa.style.visibility =flag? '':'hidden';
flag=!flag;
}</script>
<input type="button" value="show" onclick="b1.style.visibility=''">
<input type="button" value="讲解" name=bt style="VISIBILITY: hidden">
<input type=button value=button onclick="document.myform.bt.style.visibility='visible'">
</form>
<script>
function check()
{
var a=document.getElementsByName("b1")
for(var i=0;i<a.length-1;i++)
{
a[i].style.visibility=''
}}
</script>
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input type="button" onclick="check()"></body></html>
<html><head></head><body>
<script>
function check()
{
var a=document.getElementsByName("b1")
for(var i=0;i<a.length-1;i++)
{
a[i].style.visibility=''
}}
</script>
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input name="b1" type="button" value="讲解" style="VISIBILITY: hidden">
<input type="button" onclick="check()"></body></html>
只是改成document.getElementsById("")就成了