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 .
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 )
I have started development in Jquery and i have encountered an scenario .
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 .
_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 )
Please provide your suggestion .