android - How to make date picker dialog appear when tabbing to a date field -


i have written html5 web application , when running on android 4.0.4, have noticed following issue: have 2 consecutive input fields on form, 1 text field , next date field. if focus in text field , virtual keyboard displayed , "tab" button pressed on virtual keyboard, focus moves date field, date picker dialog box not displayed date field. issue happening in both standard android browser , chrome, follows:

using standard android browser, when tabbing text date, keyboard stays displayed, though field being entered date field , date picker dialog box should displayed.

using chrome, when tabbing text date, keyboard disappears date picker dialog box not displayed.

either way, unacceptable. when focus moves date field via tab key, date picker dialog box should displayed (exactly same way date picker dialog box displayed when user touches input type=date box).

this without doubt yet bug in android 4.0.4 os, realizing full of such bugs. question this: there programmatically can work-around make date picker dialog box appear when date field tabbed using virtual keyboard?

try using on tabbing code

    $('#datepicker').datepicker('show'); 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -