<html><head><title></title>
<script type="text/javascript">
function a(){
var aa = document.getElementById("aw").getElementsByTagName("tr")[0].getElementsByTagName("td")[2];
alert(aa.innerHTML);
}
</script>
</head>
<body onload="javscript:a();">
<table id="aw">
<tr><td >name</td><td>age</td><td>sex</td></tr>
<tr><td>marut</td><td>20</td><td>Male</td></tr>
<tr><td>abhishek</td><td>20</td><td>Male</td></tr>
</table>
</body>
</html>