I have a text masked field as follows:
$("#txtnuminic").mask("99999999-9");
And I'm trying to extract the contents of it without the mask like this:
valor = $("input[type='text']").get(indice).value;
I already know that I need to use replace, but how would I look?