title: Multiply two values in a form
body: <p>For my code, I am trying to call 2 parameters into a function. Once you have left the 2nd input box, and multiply the 2 numbers passed through and put it in the third text box.  if either of the first 2 input boxes are empty, then color them light red.  This is my code so far, what am I missing?</p>
  
  <p>Javascript:</p>
  
  <pre><code>function multiply(one, two) {
  if(one==""){
  this.style.color='red';
  }
  if(two==""){
  this.style.color='red';
  }
  else{
  txt1=one * two;
  return txt1;
  }
  
  }
  </code></pre>
  
  <p>HTML5:</p>
  
  <pre><code>First Value: &lt;input type="text" name="mFirst" /&gt;
  Second Value: &lt;input type="text" name="mLast" onblur="multiply(mFirst.value, mLast.value)" /&gt;
  Multiplication of First and Second Value: &lt;input type="text" name="answer"&gt;
  </code></pre>