Skip to content

A simple js file that allows you to add a class to inputs to turn them in to comma separated number inputs.

Notifications You must be signed in to change notification settings

mountinash789/Comma-Inputs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Comma-Inputs

A simple js file that allows you to add a class to inputs to turn them in to comma separated number inputs. The examples I found couldn't handle decimals. This one does.

Usage

<html>
  <head>
    <script src="comma-number-input.min.js"></script>
  </head>
  <body>
    <input class="comma-number-field" id="id_number_field" />
  </body>
</html>

Fiddle Example

https://jsfiddle.net/mountinash/n9dyt4e8/

About

A simple js file that allows you to add a class to inputs to turn them in to comma separated number inputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published