Input filter to interger only
jquery keydown not work on mobile
jquery preventDefault cannot be used then
Here is the example of how to block event propagation and block non integer input.
Gist
jsfiddle
Edit fiddle - JSFiddle
Laravel, IonicFramework, Flutter, Vuejs, Reactjs, Capacitor, AmazonWebService, GoogleCloudPlatform
Comments
Post a Comment