I have a field that contains a mask:
ButIneedittocomeback,soitlookslikethis:
1212.12
Itriedthecodebelow,butitdidnotwork:
HTML
<inputtype="text" name="Valor" id="valor">
JQuery
var nValor = $("#valor").val().split('R$');
var novo = nValor[1].formatMoney(2, '.', ',');