remover ultimo character string javascript code example
Example: remover ultimo character string javascript
var texto = $("#input_id").val();
$("#input_id").val(texto.substring(0, texto.length - 1));
var texto = $("#input_id").val();
$("#input_id").val(texto.substring(0, texto.length - 1));