title: Multiplying with jquery
body: <p>I have this simple script, i want to multiply Var a * Var b then Multiply this by Var C with  a set number eg 15.</p>
  
  <p>But it doesn't seem to work?</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  $('input[name="box2"]').keyup(function() {
      var a = $('input[name="box1"]').val();
      var b = $(this).val();
      var c = $(15).val();
      $('input[name="box3"]').val(a * b * c);
  });
  ​
  &lt;/script&gt;
  &lt;/head&gt;
  
  
  &lt;body&gt;
  &lt;input name="box1" type="text" /&gt;&lt;br /&gt;
  &lt;input name="box2" type="text" /&gt;&lt;br /&gt;
  &lt;input name="box3" type="text" /&gt;
  &lt;/body&gt;
  </code></pre>