1
I got the following jQuery
jQuery(function($){
$("#telefone").mask("(99) 9 9999-9999");
$("#celular").mask("(99) 9 9999-9999");
});
However, when typing the number in the field, if it is a landline for example, it Zera the field, because the landline does not have the ninth digit. How can I adjust that question?
There is already an answer here: http://answall.com/a/42242/46523
– user46523
Great, thank you so much! :)
– Sr. André Baill