An Easy Number Separator created for formatting the number (currency) input that automatically adds thousand separators in numbers when entered in an input field.
See also:
How to use it:
1. Download and put the JavaScript file easy-number-separator.js
after jQuery library (slim build).
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"> </script> <script src="easy-number-separator.js"></script>
2. Just add the CSS class number-separator
to the number input and the plugin will take care of the rest.
<input type="text" class="number-separator" placeholder="Enter Your Number Here...">
This awesome jQuery plugin is developed by amirsaa. For more Advanced Usages, please check the demo page or visit the official website.