title: Change row content by ID. Javascript
body: <p>I have a JS code below:</p>
  
  <pre><code>var color = "red";
  
  for(i=1; i&lt;=10; i++){
      document.getElementById('content').innerHTML += ('&lt;tr&gt;' +
                                                          '&lt;td&gt;' + i + '&lt;/td&gt;' + 
                                                          '&lt;td&gt;' + color + '&lt;/td&gt;' +
                                                      '&lt;/tr&gt;')
  }
  </code></pre>
  
  <p>This creating me table:</p>
  
  <pre><code>1 red
  2 red
  3 red
  ...
  </code></pre>
  
  <p>What i need is to change color only for i 2. 
  I mean after table created i want to change color only for i = 2 to get result:</p>
  
  <pre><code>1 red
  2 blue
  3 red
  ...     
  </code></pre>
  
  <p>Change content of row by ID. 
  Can you please suggest how to do this ?     </p>