Search code examples
javascriptios4keyboardtoggle

Toggle keyboard in iOS using Javascript


For iOS, instead of showing the keyboard any time you click inside a textbox, can I create a button to toggle the keyboard on and off so users can have control over when to display the keyboard? What's the javascript function for it?

PLease note I want to do it in javascript not objective-C.

Thanks,


Solution

  • @George: I finally decided that I don't need the regular textbox because I have a customized keyboard anyway. That way I won't have to worry about the keyboard popping up when touching my 'customized' textfield.

    Anyway, thanks for your effort.