<html>
<head><title>Javascript "About Table"</title>
<script language="javascript">
function display1()
{
alert(document.all.table1.style.display);
alert(document.all.table1.style.rows.length);
document.all.table1.style.display='';
alert(document.all.table1.style.display);
}
</script>
<a href="javascript:display1();">显示</a>
<table id="table1" style="display: none">
<tr><td>1212</td></tr>
</table>
</html>
<head><title>Javascript "About Table"</title>
<script language="javascript">
function display1()
{
alert(document.all.table1.style.display);
alert(document.all.table1.style.rows.length);
document.all.table1.style.display='';
alert(document.all.table1.style.display);
}
</script>
<a href="javascript:display1();">显示</a>
<table id="table1" style="display: none">
<tr><td>1212</td></tr>
</table>
</html>
<html>
<head><title></title></head>
<script language=javascript>
function change()
{
document.all.te1.style.innertext="";
}
</script>
<body>
<table>
<tr><td id="te1" onmouseover="change()">ss</td></tr></table>
</body>
</html>
js 区分大小写