I\'m wondering how can I get the value of an input
in a specific table cell using javascript?
If you don't have any id
on the element you are after, then you could get the first child of the td
by:
var x = document.getElementById("tabela").rows[n].cells[n].children[0].value;
Or if you want the first child to be specific to input then:
var x = document.getElementById("tabela").rows[n].cells[n].getElementsByTagName('input')[0].value;