Get started with jquery-maskmoney CDN

MIT licensed

JQuery Mask Money is a plugin that formats input as money.

Tags:
  • form
  • money
  • jquery

Stable version

Copied!

How to start using jquery-maskmoney CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery-maskmoney CDN - cdnhub.io</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
    <script>
        $(document).ready(function() {
            $('#moneyInput').maskMoney({
                prefix: '$',
                allowZeroDecimals: true
            });
        });
    </script>
</head>
<body>
    <input type="text" id="moneyInput">
</body>
</html>
Copied!

All versions