jquery mobile framework on page load show softkeyboard

3 posts, 0 answers
  1. vinitha
    vinitha avatar
    1 posts
    Member since:
    Jul 2013

    Posted 16 Jul 2013 Link to this post

    I have a index.html page..The contents in it are 2 textboxes username and password..what I need is on page load itself get the focus on to the first textbox and show softkeybaord...I need it in jquery mobile..also would like to know how it is done for kendo as well..
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Jul 2013 Link to this post

    Hi Vinitha,

    For iOS you need to set the KeyboardDisplayRequiresUserAction property to false, so you can open the keyboard when form elements get focus via the JavaScript focus() call. You can edit the iOS config.xml
    from the code editor, for more information, see Edit Configuration Files.
    On Android, you can try the various modes of windowSoftInputMode and see which best fits your scenario. You can edit the AndroidManifest.xml from the code editor, for more information, see Edit Configuration Files.

    For Kendo UI it depends on the widget you use, but most of them have a focus method as well, e.g. the numerictextbox.

    Regards,
    Steve
    Telerik

    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. neeraj
    neeraj avatar
    1 posts
    Member since:
    Oct 2013

    Posted 01 Oct 2013 Link to this post

    Its really work .thanks 
Back to Top