Get started with jquery-maskmoney CDN
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!