1
This is what I need to do onkeyup
of inputs
classy virgula_nao
, obey the function:
$(document).on('keyup', '#virgula_nao', function () {
valor_do_input = valor_do_input.value.replace(/,/gi, ".");}
});
I don’t know how to do it. Someone can help me?
Would you like to make a sort of floating-point mask?
– Tuyoshi Vinicius
What’s the problem? What do you want to happen?
– BrTkCa
Explain better what you want to do, what behavior is expected so that we can help.
– Leandro
I want that in the form, if the user type , in the various inputs that need to receive value in currency change automatically to point. I can do it with javascript, one input at a time... but I want to create a class of inputs that meet this condition.
– Andre Maia