mask - How to customize the Masked Input jQuery plugin -
i using jquery mask plugin from
http://digitalbush.com/projects/masked-input-plugin/
i want customize plugin , have tried best can't.
what want is
- i can enter digits only.
- all digits formatted automatically (,) after every 3rd number.
- only 2 digits after (.)
i using mask:
$("#product").mask("999,999,999.99",{placeholder:" "});
the problem if need type 150.50, need bring cursor on exact place , type.
for example in above mask if type 150.50 text box looks this: [][][],[][][],150.50
[] blank space. want 150.50 shown, without (,)s.
if type 1150.50 show 1,150.50, want formatting automatically occur once done typing , don't want show (,)s.
you not want masking plugin, formatting plugin ..
Comments
Post a Comment