You can use JavaScript to get the cell data from the table. Here's a simple example:
```javascript
// Assuming the table rows are in a <table> with id "myTable"
let table = document.getElementById("myTable");
let rows = Array.from(table.rows);
let cellData = rows.map(row => Array.from(row.cells).map(cell => cell.innerText));
// Now cellData contains the text of all cells in the table
console.log(cellData);
```
This code retrieves the text content of each cell in the table and stores it in the `cellData` variable.
To get data from table cells, u shld use innerHTML.
For that u need to give id's for all the TD's in the Table.
Try the below coding:
<script language="javascript">
function getdatas()
{
var data=document.getElementById('data6').innerHTML;
alert(data);
}
</script>
</head>
<body>
<table width="200" border="1">
<tr>
<td id="data1">ganesh</td>
<td id="data2">magesh</td>
<td id="data3">tanveer</td>
</tr>
<tr>
<td id="data4">satya</td>
<td id="data5">siddiq</td>
<td id="data6">bimal</td>
</tr>
<tr>
<td id="data7">jenson</td>
<td id="data8">nasrulla</td>
<td id="data9">dayanand</td>
</tr>
</table>
<input type="button" value="Get" onclick="getdatas()" />
</body>