title: javascript change value of button
body: <p>How do I change the value of this button?  I am looking at a tutorial, but only the url seems to change, and not the button.</p>
  
  <pre><code>&lt;form name="form" id="form"&gt;
  &lt;button name="button" id="button"&gt;Click Me!&lt;/button&gt;
  &lt;/form&gt;
  
  &lt;script type="text/javascript"&gt;
  document.form.button.value=new Date();
  &lt;/script&gt;
  </code></pre>