Good morning!
I have 5 inputs which I want to show in a label the sum of the 5 but dynamically, that is to say as I go digitanto the numbers in the inputs, example if in the iunput 1 I typed the 3 and in the input 2 digité the 4 show me immediately the result in the label or 6 and so on ...
I think I use a script to autocomplete an input that I have it working which detects when a key is pressed and performs a function for the case to complete an input according to a database that does not come to the topic
this is the script
$(document).ready(function()
{
$('#input_1').typeahead(
{
//aquí haré la suma e imprimiré en el label
});
});
As you can see, it would only be useful for input_1
How can I add more input? separating them by comma after input_1 ?