C
Cylix
<div id="alertBox" style="position: absolute; border:1px dashed;
z-index:2">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>THE TITLE </td>
</tr>
<tr>
<td>CONTENT</td>
</tr>
</table>
</div>
When I get the object:
myObject = document.getElementById('alertBox');
alert(myObject.childNodes.length)
I found that there are 3 nodes in FF and only 1 node in IE6,
FF got: Text Node, Table Node, Text Node,
IE got: Table Node
Is it the property of the browser?
z-index:2">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>THE TITLE </td>
</tr>
<tr>
<td>CONTENT</td>
</tr>
</table>
</div>
When I get the object:
myObject = document.getElementById('alertBox');
alert(myObject.childNodes.length)
I found that there are 3 nodes in FF and only 1 node in IE6,
FF got: Text Node, Table Node, Text Node,
IE got: Table Node
Is it the property of the browser?