title: How do you change the style of a div programmatically
body: <p>How do I change the style (color) of a div such as the following? </p>
  
  <pre><code>"&lt;div id=foo class="ed" style="display: &lt;%= ((foo.isTrue) ? string.Empty : "none") %&gt;"&gt;
                          &lt;%= ((foo.isTrue) ? foo.Name: "false foo") %&gt;"`
  </code></pre>