title: change form field value with javascript
body: <pre><code>&lt;script type="text/javascript"&gt;
  function up(d,mul)
  {
  alert(d);
  form1.d.value=mul;
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>up is a function name with which i am trying to update the value of field(field name=d).
  But its not working. plz somebody help me.</p>