You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find the time to build a simple example, but in a complex ecommerce project I'm working on, the mottie on screen keyboard disables keyup event listeners directly set using $(document).on(). Even keyup events using the physical keyboard doesn't trigger my event listener anymore.
I consider this is a serious problem, cause obviously the main advantage of $(document).on() is, that it also applies for elements that were dynamically applied, e.g. after loading stuff by Ajax or fetch.
$('#my_input').keyup(function(){console.log('UP1');// working});$(document).on('keyup','#my_input',function(){console.log('UP2');// not working});$('input:not(:checkbox, :radio)').keyboard({ ....});
Did someone else find a solution around this?
The text was updated successfully, but these errors were encountered:
I can't find the time to build a simple example, but in a complex ecommerce project I'm working on, the mottie on screen keyboard disables keyup event listeners directly set using
$(document).on()
. Even keyup events using the physical keyboard doesn't trigger my event listener anymore.I consider this is a serious problem, cause obviously the main advantage of
$(document).on()
is, that it also applies for elements that were dynamically applied, e.g. after loading stuff by Ajax orfetch
.Did someone else find a solution around this?
The text was updated successfully, but these errors were encountered: