title: Progress bar width
body: <p>My code is designed to set the width of my progress bar by calculating the percentage and passing it as a style.width. I am a novice, so apologise for the bad code:</p>
  
  <p>JQuery</p>
  
  <pre><code>$(document).ready(function() {
  var width=(1/5*100);
  $('#progress_bar').css('width','=width + "%"');
  });
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id="progress_bar" style="height:1em; background:red; display:block;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Could someone with a second to spare please help me to get it working and show me where I've gone wrong so I can learn from this?</p>
  
  <p><a href="http://jsfiddle.net/SyxAM/" rel="nofollow">http://jsfiddle.net/SyxAM/</a></p>