没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > JQuery Input Deflate Plugin |
|
JQuery Input Deflate Plugin
|
| 0 | 0 | 2 |
| 贡献者 | 讨论 | 代码提交 |
概述
This is a JQuery plugin that allows the creation of a different layer of inputs that will receive formatting according to user locale.
Example:
Let's imagine that you have your application handling a float value and you must support the pt_br locale which uses "," as decimal separator and "." as separator for thousands).
Usually, you would need to support the different float formats on the server, but with this plugin you can do that support entirely on client-side.
It works by creating a second input, turning the original input into a hidden input and using deflate and inflate functions to convert to/from the desired user-friendly format. Changes are then propagated to the original input.
创建时间:2014-05-06 17:08
标签:
