:::: MENU ::::

Mascara monetária para moedas com Javascript / JQuery

Hoje garimpando a internet encontrei esta mascara excelente para tratar moedas,dinheiro, valores como R$ e U$

A forma de uso e muito simples.

link do github: https://github.com/plentz/jquery-maskmoney

Uso:


<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="dist/jquery.maskMoney.min.js" type="text/javascript"></script>
</head>
<body>
<input type="text" id="currency" />
</body>
<script>
$(function() {
$('#currency').maskMoney();
})

Share this content