第一个:
  all[ccc].style.display ="none"
第二个:
<script>
function hhh(aaaaaa,delete)
{
  if(confirm("你确定要删除链接\“aaaaaa\”?"))
    window.location="directory.php?action=delete";
}
</script>
<a href="javascript:hhh(aaaaaa,delete)">链接</a>

解决方案 »

  1.   

    [1]:for(var i in document.all){
    if(document.all[i].class=="ccc"&&document.all[i].tagName=="TABLE")
    document.all[i].style.display="none"
    }
      

  2.   

    订正[1]:for(var i in document.all){
    if(document.all[i].className=="ccc"&&document.all[i].tagName=="TABLE")
    document.all[i].style.display="none"
    }
      

  3.   

    to guliang:  我这里试了半天还是错误,应该不是这么写吧?直接放进去就可以吗?呆我回家试试,现在在网吧……不过先谢谢了!to 大吊车:  我这里测试通过,非常感谢!