File: app/javascript/control_forms.js

Recommend this page to a friend!
  Classes of Laudir Bispo  >  PHP Real Estate Website  >  app/javascript/control_forms.js  >  Download  
File: app/javascript/control_forms.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 5 months ago
Size: 470 bytes
 

Contents

Class file image Download
'use strict';

(function( $ ) {
   $(document).ready(function(){ 
    $('[data-control="mask-tel"]').mask("(99) ?9-9999-9999");
    $('[data-control="mask-cpf"]').mask("999.999.999-99");
    $('[data-control="mask-rg"]').mask("99.999.999-9");
    $('[data-control="mask-cnpj"]').mask("99.999.999/9999-99");
    $('[data-control="mask-postal-code"]').mask("99999-999");
    $('[data-control="mask-date"]').mask("99/99/9999",{placeholder:"mm/dd/yyyy"});
   });
})(jQuery);
For more information send a message to info at phpclasses dot org.