title: Marquee nodeValue update dynamically
body: <p>I have a basic problem where I couldn't update the marquee nodeValue dynamically. The following is the HTML Code.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
         &lt;script src="update.js" language="javascript" type="text/javascript"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
         &lt;marquee behavior="scroll" direction="left" id="marquee"&gt;&lt;/marquee&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And the update.js is</p>
  
  <pre><code>document.getElementById("marquee").firstChild.nodeValue = "New Text";
  document.getElementById("marquee").start();
  </code></pre>
  
  <p>Can anyone tell me how to update the Marquee from other javascript.</p>