HTML5 iOS/Android Keyboard Button -


this question has answer here:

is there method can call in html5/javascript force on-screen keyboard appear in ios/android?

i not looking html5 keyboard, notify device needs display internal on-screen keyboard.

thanks

for android can use this:

 public void showsoftkeyboard(view v) {         activity activity = (activity) v.getcontext();         inputmethodmanager inputmethodmanager = (inputmethodmanager)  activity.getsystemservice(activity.input_method_service);         inputmethodmanager.showsoftinput(activity.getcurrentfocus().getwindowtoken(), 0);     } 

or call:

((inputmethodmanager)getsystemservice(context.input_method_service)).togglesoftinput(inputmethodmanager.show_forced, inputmethodmanager.hide_implicit_only); 

for ios found one:

$('#element').focus().blur().focus(); 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -