how to get innerHTML value in java code :    I want to change table <td> data by using innerHTML property.
   But after applying innerHTML property those values set in <TD> but not 
   accessible in java code
So is there any alternative to innerHTML property so that value can be set inv<td>
and it can also be accessed in Java Code.
 in java script i am using following code.

        
         <script>
        var row=0,col=0,i=1;//can be used in loop
       
        document.getElementById("tableID").rows[row].cells[col].innerHTML=i;
    </script>

not able to access the value in java
