Demo for Input Masking

stackui
0
Include these Files

 /* Attach the Table CSS and Javascript */
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://code.jquery.com/jquery-1.10.2.js">
<script src="stylesheet" href="https://portal.domainshostweb.com/stackui.blogspot/js/jquery.maskedinput.js"></script>



 
      
   $("#date").mask("99/99/9999",{placeholder:"mm/dd/yyyy"});
      
     


 
      
    $("#phone").mask("(999) 999-9999");
      
     


 
      
    jQuery(function($){
     $("#phoneext").mask("(999) 999-9999? x 99999");
  });
      
     


 
      
    $("#tin").mask("99-9999999");
      
     


 
      
   $("#ssn").mask("999-99-9999");
      
     


 
      
   jQuery(function($){
     $("#product").mask("99/99/9999",{completed:function(){alert("You typed the following: "+this.val());}});
  });
      
     


 
      
    jQuery(function($){
       $.mask.definitions['~']='[+-]';
       $("#eyescript").mask("~9.99 ~9.99 999");
    });
      
     
Click here to Download Code Download

Post a Comment

0Comments

Post a Comment (0)
Demos Buy Now