We help IT Professionals succeed at work.

New podcast episode! Our very own Community Manager, Rob Jurd, gives his insight on the value of an online community. Listen Now!

x

I'm looking for a dynamic length jQuery/javascript currency editor mask?

Michael Sterling
on
297 Views
Last Modified: 2017-05-08
Hello, I tried to ask this question earlier, but after bumping my head a few times with the responses I've decided to ask the question in a different way:

I'm looking for a variable length (dynamic length) jQuery/javascript currency mask. The mask needs to do the following:

  • Pre fill with a '$' (dollar sign) any other pre-filled values are welcomed (commas, decimal point etc.)
  • Only allow numeric input and or commas and a decimal point
  • allow for any size number (within reason: millions is probably as far as it will need to go), but not force a minimum size number. i.e: you can enter $1,000,000,000.00 or you can enter $1.00 anything in between
  • I need to be able to plug and play: if i need the js file, I can get that

I would prefer code examples or jfiddle examples if possible. I don't work with and or use jQuery / javascript regularly so retro-fitting code to do what I need it to do is probably going to take more time than I'm willing to invest. Please help.
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Michael SterlingWeb Applications Developer

Author

Commented:
triunfador triunfador! cena de pollo! "winner winner! chicken dinner!" (I know, it doesn't sound nearly as good haha...thanks!)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.