title: TD In Table If/Else
body: <p>I have got a in a table. I would like an if/else statement that adds 92 to variable x if the td is in a table.</p>
  
  <p>This is the code I have got but obviously the if/else isn't what I want.</p>
  
  <pre><code>//Html
  &lt;table id="Tableleft"&gt;
     &lt;tr&gt;
       &lt;td id="92"&gt;Text 1&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  
  //Javascript
  var x = 0
  if ( document.getElementByID('92')) { 
  //Help Here Please
  }
  </code></pre>