title: How can I get the value of an input in a specific table cell using javascript?
body: <p>I'm wondering how can I get the value of an <code>input</code> in a specific table cell using javascript?</p>
  
  <pre><code>&lt;td&gt;&lt;input type="text"/&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I assume getting the <code>innerHTML</code> of a specific cell is quite simple, for example:</p>
  
  <pre><code>var x = document.getElementById("tabela").rows[2].cells[3].innerHTML
  </code></pre>
  
  <p>but this gives me just the <code>input</code> without it's <code>value</code>. Adding <code>.value</code> to the end of the line doesn't work. I would appreciate your help!</p>