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
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
I have started development in Jquery and i have encountered an scenario .
I have a HTML form with 10 input fields each of maximum width 1 and type ="tel".
2 . Here i am using autotab plug-in of jquery ( https://github.com/Mathachew/jquery-autotab)
So when we enter one number in input fields the focus will go to next input field.
And when the input element has no value and we put cursor there and press "backspace" then focus will go to the previous element and delete the previous element's value .(Please find demo in the above link )
Point 3 , 4 are the expected behaviour.
BUT in Android + Firefox browser only
1 . Point 4 is not working .
I have searched for this problem in Android + Firefox and i have some observation as below -
1 . keypress and keydown event are not recognized by Android + Firefox .
2 . These event i need to use and in that event i will use .which .keyCode .charCode to detect the "backspace"
3 . Hence i am Using keyup event and it worked .
4. But for "backspace" code is returned as "undefined"
*NOTE *: these behavior is only in Android +Firefox
( Is it an limitation of Firefox+Android , as i can see the autotab plug-in demo also behaving in the same way )