Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikita-vanyasin/jquery.numberfield.js
jquery.numberfield.js
https://github.com/nikita-vanyasin/jquery.numberfield.js
Last synced: 2 days ago
JSON representation
jquery.numberfield.js
- Host: GitHub
- URL: https://github.com/nikita-vanyasin/jquery.numberfield.js
- Owner: nikita-vanyasin
- License: apache-2.0
- Created: 2013-12-01T18:35:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T09:33:57.000Z (over 9 years ago)
- Last Synced: 2023-08-03T06:56:23.668Z (over 1 year ago)
- Language: JavaScript
- Size: 143 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jquery.numberfield.js
=====================Based on http://stackoverflow.com/a/15544117
Adds method to jQuery object:
```
$('input.my_number_field').numberField(options);
```where options is (you can pass any or no options):
```
{
ints: 2, // digits count to the left from separator
floats: 6, // digits count to the right from separator
separator: "."
}
```