title: Jquery multiply data in textbox array
body: <p>I've try but It work only first row . I want to add second row multiple quantity_box and unit_price then display in price without changing </p>
  
  <pre><code>$('.a,.b').keyup(function(){
    var textValue1 =$(this).parent().find('.a').val();
    var textValue2 = $(this).parent().find('.b').val();
  
    $(this).parent().find('.price').val(textValue1 * textValue2); 
  });
  
  hereis my new html
  
  
  &lt;td id="quantity" class="col-md-1"&gt;
      &lt;input type="text"  name="quantity_box[0]" class="form-control a" /&gt;
  &lt;/td&gt;
  &lt;td class="col-md-1"&gt;
      &lt;input type="text"  name="unit_price[]" class="form-control b" /&gt; &lt;/td&gt;
  &lt;td class="col-md-1"&gt;
      &lt;input type="text" name="price[0]" id="price" class="form-control price" autofocus="" /&gt;
  &lt;/td&gt;
  </code></pre>