Javascript mask plugin
Examples
Dollar
U$ #,##0.00
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='U$ #,##0.00'>
</html>
Euro
# ##0,00 EUR
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='# ##0,00 EUR'>
</html>
Percentage
0,00%
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='0,00%'>
</html>
Date
dd/mm/yyyy
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='dd/mm/yyyy'>
</html>
DateTime
yyyy-mm-dd hh24:mi
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='yyyy-mm-dd hh24:mi'>
</html>
Brazilians unique identification number (CPF)
000.000.000-00
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='000.000.000-00'>
</html>
Phone Number
+44 0000 000 000
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<input data-mask='+44 0000 000 000'>
</html>