title: Multiple calculation is not working properly
body: <p>After type a number in input control, below will display multiplication it is working for when i'm using single row but when i work for multiple row this is not working. </p>
  
  <p>How can i do it?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(function() {
    $('.form-control').keyup(function() {
      $('.input-number').text($(this).val());
      $('.total').text($('.static-number').text() * $('.input-number').text());
    });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.coma/bootstrap/4.4.1/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  
  &lt;div class="container text-center"&gt;
    &lt;div class="col-md-4"&gt;
      &lt;input type="text" class="form-control" placeholder="type a number"&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;Static Number&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;Multiply&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;input number&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;Total&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-3 static-number"&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;*&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3 input-number"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3 total"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-3 static-number"&gt;&lt;span&gt;2&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3"&gt;&lt;span&gt;*&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3 input-number"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-3 total"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>