I have a code very similar to this one, perform calculations and present the values in textarea fields. I would like to know how you could pass these values to a field like:
<form role="form">
<div class="form-group col-md-3">
<label for="thingsId">Numbers of things</label>
<input type="text" class="form-control" name="thingsName" id="thingsId" >
</div>
And not this:
<td><textarea row="1" type="number" id="thingsId" name="thingsName"></textarea></td>
This code uses exactly the same conditions, but I would like a result that wasn't in a textarea
http://jsfiddle.net/1wrnL3jp/5/ Topic of discussion: calculating form field input value from other values with onfocus