0
People use the plugin jQuery Mask Plugin v1.13.4
I have a div where I report a value as follows:
$('#v_pg').text('PAGA R$ ' + valor_pago);
Use Jquery to update the value inside the div. But I wanted it to be formatted by Mask as follows:
$('').mask('00.000.000,00', {
reverse: true
});
Does anyone know if there’s a way to do it? Or if there’s another way?
This plugin will only work with
inputs
...– Kenny Rafael
@Kennyrafael, the plugin works with Divs also.
– Andrew Ribeiro
actually the plugin works on div yes
– Hugo Borges