jquery-maskmoney
jquery-maskmoney copied to clipboard
Event 'input' not triggering
Similar to the https://github.com/plentz/jquery-maskmoney/issues/19 but using the "input" event.
@JobaDiniz when it's supposed ti be triggered?
The event "input" is supposed to be triggered whenever the fields changes, whether by copy-paste, keydown or browser auto filling.
$( ".hasMask" ).on( "input", function() {
alert( "changed " );
});
That doesn' work when the input has maskMonkey applied.
@JobaDiniz do you have some sort of link or reference that mention that event(input
)? (I never heard of it, to be sincere).
http://stackoverflow.com/questions/17384218/jquery-input-event#answer-17384264
http://stackoverflow.com/questions/15727324/for-a-javascript-autocomplete-search-box-must-we-use-the-input-event-handler#answer-15727891
Is there any progress on this issue?
Any chance this will get fixed soon? I would love to use this plug-in but can't because of this issue
Hi, will this bug ever be fixed?
This is again (or still) a problem in jquery-maskmoney - v3.1.1.
The problem still exists :'(
yeah it still exist :'(
Same problem here (using v3.0.2)... I'm using formvalidation.io plugin and event "change" (or "input") not triggered...
i'm using on keypress and on keydown it like on input for me now $('.hitung_total_edit').keydown(function(event) { if(event.which == 8) { //response for backspace hitung_total(); } }); $('.hitung_total_edit').keypress(function(event) { if(event.which >= 48 && event.which <= 57 || event.which >= 96 && event.which <= 105) { //response for number keypad hitung_total(); } });
This should works
$(your_element).on('keyup.maskMoney', function () {});
I'm using:
document.getElementById(idElement).addEventListener("blur", () => function(){}));
But this problem exist, yet.
I wrote this lib monitorFormChange, but this soluction is not the best for me.