https://icons8.com/cssload/
http://jsfiddle.net/igorescobar/6pco4om7/
http://malsup.com/jquery/cycle/
http://malsup.com/jquery/form/#getting-started
https://jqueryvalidation.org/
https://jqueryvalidation.org/
http://malsup.com/jquery/form/#getting-started
http://www.moretechtips.net/2018/07/firestore-database-to-jquery.html
jQuery("input.telefone")
.mask("(99) 9999-9999?9")
.focusout(function (event) {
var target, phone, element;
target = (event.currentTarget) ? event.currentTarget : event.srcElement;
phone = target.value.replace(/\D/g, '');
element = $(target);
element.unmask();
if(phone.length > 10) {
element.mask("(99) 99999-999?9");
} else {
element.mask("(99) 9999-9999?9");
}
});
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js"></script>
Telefone: <input type="text" class="telefone" />
https://pt.stackoverflow.com/questions/42238/m%C3%A1scara-de-telefones-usando-jquery-mask-plugin
Full Stack Developer, DevOps, CSM e LKU. coutoarmando@gmail.com