title: Setting jQuery attribute for font-weight
body: <p>I am trying to change the font-weight of an element. I tried with the following but it doesn't seem to work:</p>
  
  <pre><code>$("#opt_" + i).attr("font-weight", "bold");
  </code></pre>
  
  <p>Also what's the difference between prop and attr? Is that something to do with my problem?</p>