Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Máscara CPF, CNPJ, Telefone 8 e 9 Dígitos




   
        TODO supply a title
       
       
       
       
       
   
   
       

           

           


         
           

           
       

   



    $(document).ready(function() {
      $("#telefone").inputmask({
        mask: ["(99)9999-9999", "(99)99999-9999"],
        keepStatic: true
      });
     
       $("#cpf_cnpj").inputmask({
        mask: ["999.999.999-99", "99.999.999/9999-99" ],
        keepStatic: true
      });
    });

Obs.: A máscara menor primeiro.

Download do Projeto no Netbeans.







This post first appeared on Daniel Alves Barbosa, please read the originial post: here

Share the post

Máscara CPF, CNPJ, Telefone 8 e 9 Dígitos

×

Subscribe to Daniel Alves Barbosa

Get updates delivered right to your inbox!

Thank you for your subscription

×