🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Secure Number Mask is a jQuery plugin used to mask text input field to prevent displaying the typed numbers.

input-mask Credit-Card

Documentation

securenumbermask

securenumbermask jquery plugin

A simple plugin to hide password,credit card numbers & mask other security fields

Easy to use

Example code :

<title>Test raaccordion</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js"></script> <script type="text/javascript" src="js/securenumbermask.js"></script>
<body> <input TYPE="text" id="inputtext" name="test1" value="123"/>   <input TYPE="text" id="inputtext2"   name="test2" value="1234"/>     <input TYPE="text" id="inputtext3"  name="test3" value="12345"/>       <input TYPE="text" id="inputtext4"  name="test4" value="123456"/> </body> <script> 

$(document).ready(function(){ $('#inputtext').securenumbermask({mask:'*',maxlength:2}); $('#inputtext2').securenumbermask({mask:'&',maxlength:15}); $('#inputtext3').securenumbermask(); $('#inputtext4').securenumbermask(); }); </script>


You May Also Like