title: How can I select a specific column in a row using jQuery and JavaScript?
body: <p>I am very new to jQuery and JavaScript.
  I have a small question.
  Let's say i have a HTML table like the following</p>
  
  <pre><code>&lt;Table id="mytable"&gt;
   &lt;tr id="element"&gt;
    &lt;td&gt;value&lt;/td&gt;
    &lt;td&gt;text&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/Table&gt;
  </code></pre>
  
  <p>In the above example i know the row id and i want to change the value of the second column of the row with that particular id.</p>
  
  <p>I need a result something like the following:</p>
  
  <pre><code> &lt;Table id="mytable"&gt;
   &lt;tr id="element"&gt;
    &lt;td&gt;value&lt;/td&gt;
    &lt;td&gt;ChangedText&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/Table&gt;
  </code></pre>
  
  <p>So my question is: how can I select the 2<sup>nd</sup> column of the first row with a given id in order to change the value?</p>