2

I'm looking for a plugin in JavaScript (or using the JavaScript library jQuery), that is cost-free and is able to provide:

  • Allow prefix (allow to enable/disable the feature)
  • Allow suffix (allow to enable/disable the feature)
  • Able to define thousands and decimal values (dot or comma)
  • block copy and paste without numeric value (allow copy and paste of numeric value)
    • Ctrlc + Ctrlv
    • Right clickPaste
  • Be jQuery or pure JavaScript
  • No cost

I tried the Jquery-maskMoney and it's great, but it allows copy and paste. I also tried the jQuery Mask Plugin that is missing the prefix/suffix needy.

I didn't want to have to add another code to manage the copy and paste in maskMoney.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.