I have this input
<input type="text" readonly="readonly" class="form-control form-sm input_digitacao">
And I have this script
$(".numeros_ligacao li a").click(function(){
digito = $(this).html();
$(".input_digitacao").val(digito);
})
The variable digit returns me a single number, when clicking, inside that input the corresponding number appears, but I want it to add one after the other, not that it replaces as it is doing. Do you have any way?