This is the HTML code
[HTML] <td id="td2">
<tr id="td3">
<td id="td4"> Some Test TEXT </td>
<td id="td5"> <input type=checkbox value="chk-4">CheckBox 4 </td>
</tr>
</td>[/HTML]
this is the Javascript Code
Expand|Select|Wrap|Line Numbers
- var a = document.getElementById('td2');
- alert(a.hasChildNodes());
WHY ?????????