title: Bootstrap table: change row color by data value
body: <p>How do I change the color of a row in a bootstrap table, depending on the row's data value. (I want the text to be red if the date column is older that today). </p>
  
  <p>I'm good with C++ and C#, but new to JS and JQuery</p>
  
  <p>Here is the code:</p>
  
  <pre><code>&lt;table data-toggle="table"
      data-url="GenerateJSonEmailList.php"
      data-sort-name="stargazers_count"
      data-sort-order="desc"&gt;
  
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th data-field="idProspects" 
                  data-sortable="true"&gt;
                      ID
              &lt;/th&gt;
              &lt;th data-field="Prenom" 
                  data-sortable="true"&gt;
                      Prénom
              &lt;/th&gt;
              &lt;th data-field="Nom" 
                  data-sortable="true"&gt;
                      Nom
              &lt;/th&gt;
              &lt;th data-field="EmailAddress" 
                  data-sortable="true"&gt;
                      Adrese courriel
              &lt;/th&gt;
              &lt;th data-field="DateNextEmail" 
                  data-sortable="true"&gt;
                      Date
              &lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>