plentz / jquery-maskmoney

jQuery plugin to mask data entry in the input text in the form of money (currency).

Home Page:https://plentz.github.io/jquery-maskmoney/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maskmoney blocks jQuery input event?

kevlin79 opened this issue · comments

See the simple jsfiddle linked below. One input with and one without mask. The one with mask seems to prevent jQuery input event?

https://jsfiddle.net/z85yuf5t/

If someone is still facing this problem, it is possible to listen the event keyup.maskMoney. It may not be a final solution, but it can help solve this problem for now.

$('#yourInput')
  .maskMoney()
  .on('keyup.maskMoney', function () {
    console.log($(this).val());
  });

I'm having the exact same problem :(

I have the same problem here.
Does the keyup.maskMoney fire on mobile like input?

EDIT: It works. Thanks