plentz / jquery-maskmoney

jQuery plugin to mask data entry in the input text in the form of money (currency).
https://plentz.github.io/jquery-maskmoney/
MIT License
964 stars 505 forks source link

Allow slashes #130

Closed phcs93 closed 10 years ago

phcs93 commented 10 years ago

Im working on a inch field, ex.:

1" 1/2" 3 1/2"

The suffix works perfectly but seems like there isn't a support for non-numeric characters.

Can any workarround be done?

MaskMoney is the best mask plugin i've found so far, it works almost perfect with preffixes and suffixes, that's why i'm trying to use it for this sittuation too.

Thanks!

plentz commented 10 years ago

The only way to do it is by hacking here adding the code for /.

Besides that, there's @digitalBush's maskedinput which could help as well :)

phcs93 commented 10 years ago

I see, thank you!