title: How to use the multiplication symbol
body: <p>I have a JavaScript code and I am blanking out right now. I can't remember how to use the multiplication symbol "X". This code here is an example, but is using the addition symbol. Can anyone show me how to replace the addition symbol with the multiplication symbol? I know it's probably a real easy fix.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
        function sum()
        {
  
           var num1 = document.myform.number1.value;
           var num2 = document.myform.number2.value;
           var sum = parseInt(num1) * parseInt(num2);
           document.getElementById('add').value = sum;
        }
      &lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
      &lt;form name="myform"&gt;
        &lt;input type="text" name="number1" value=""/&gt; + 
        &lt;input type="text" name="number2" value=""/&gt;
        &lt;input type="button" name="button" Value="=" onClick="sum()"/&gt;
        &lt;input type="text" id="add" name="result" value=""/&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>
  </p>