第一个:
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>
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>
if(document.all[i].class=="ccc"&&document.all[i].tagName=="TABLE")
document.all[i].style.display="none"
}
if(document.all[i].className=="ccc"&&document.all[i].tagName=="TABLE")
document.all[i].style.display="none"
}