In a form that I am developing, one of the fields that the user needs to fill is the cell phone, and since some regions of Brazil have 9 digits, I am using the jQuery MaskedInput to format the data entry.
The problem is that when I create the mask $("#celular").mask("(99) 9999-9999?9");
the character ? appears in the input of this form (__) ____-____?_
, which was not to happen.
I used this same formatting on a previous system that worked perfectly, I can not understand why it is not working in this case.
The plugin I'm using is this digitalbush.com/projects/masked-input-plugin Could someone help me?