Javascript mask plugin

Examples


Currency U$ #.##0,00



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='U$ #.##0,00'>

</html>

Currency with sign [-]U$ #.##0,00



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='[-]U$ #.##0,00'>

</html>

Date dd/mm/yyyy



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='dd/mm/yyyy'>

</html>

Date and time yyyy-mm-dd hh24:mi



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='yyyy-mm-dd hh24:mi'>

</html>

Brazilian Tax Number (CPF) 000.000.000-00



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='000.000.000-00'>

</html>

UK Phone +44 0000 000 000



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='+44 0000 000 000'>

</html>

Software Serial Number aaaaa-aaaaa-aaaaa-00



<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />

<input data-mask='aaaaa-aaaaa-aaaaa-00'>

</html>