this.oDiv.children.length在ff下该怎么写
ie下能正常
------解决方案-------------------- <table>
<tr id= "oDiv " name= "oDiv "> <td> </td> <td> </td> </tr>
</table>
<script>
//alert(this.oDiv);
//this.oDiv--> undefined in firefox
alert(document.all?this.oDiv.children.length:document.getElementById( "oDiv ").childNodes.length);
</script>