<Table id="temp1" width="100%" >
<tr>
<td id="temptd">...................</td>
</tr>
</Table>

This my sample code..from this how can i get the left value of the Tabledara 'temptd'.. i try with this in Jscript

document.getElementById('temptd').style.left

But i didnt get anything...pls help me to get this..
Thanks,
Vimal

hi,
if your table have one row and it contains five cell and you want value of 3rd cell then lets say
The row ID is 'row2'
then you can write

var a = document.getElementById('row2');
 var b = a.cells[2].innerHTML;

there by you can get value through b.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.