title: how to set css of text decoration strikethrough to red color using javascript
body: <p>I want to have a red strikethrough, but it still ends up black. This is what I tried:</p>
  
  <pre><code>.redRow {
      text-decoration: line-through;
      color: red;
  }
  </code></pre>
  
  <p>Javascript code is:</p>
  
  <pre><code>function getCurrentBinRow(elem) {
      $(elem).closest('tr').toggleClass('redRow');
  }
  </code></pre>