jQuery plugin for formatting inputs
- by antony.trupe
I want to accept values in any of the following format:
-$5
-$5.00
$5
$5.00
Is it possible to do that using Masked Input Plugin?
If not, what plug-in am I looking for?
How do I indicate a character is optional?
The code I've got so far
$.mask.definitions['~']='[ +-]';
$(".currency").mask("~$9");