title: javascript setAttribute
body: <p>I am using javascript <code>setAttribute</code> for following to change 'lorem ipsum' to 'coming' in the following manner :</p>
  
  <pre><code>&lt;span id="pop_title" name="pop_title" class="title01_mc10401 ff_1 fs_10 fc22 fsb"&gt;lorem ipsum&lt;/span&gt;
  </code></pre>
  
  <p>Script:</p>
  
  <pre><code>function modifyDOM(){
    var elem_pop = document.getElementById("pop_title");
    elem_pop.setAttribute("value","coming");
  }
  </code></pre>
  
  <p>When I inspect in firebug, its showing that the value attribute is added with coming, but its reflecting in the browser (I am using mozilla 3.0.5)
  What may be the issue ?? do i need to set different attribute ??</p>