Select input after navigating to a view

2 posts, 0 answers
  1. Alex
    Alex avatar
    54 posts
    Member since:
    Feb 2009

    Posted 11 Jun 2014 Link to this post

    I have several views in my Kendo Mobile app and I use buttons and navigate function to navigate between the views.
    Each view contains several input elements.

    How do i select the first input element to be focused after the view is navigated to?

    I have tried the follownig, but it does not focus on the input after the view is navigated to.

    application.navigate('#loan-promotion-length');
    $('#field-promotion-length').focus();
  2. Alex
    Alex avatar
    54 posts
    Member since:
    Feb 2009

    Posted 11 Jun 2014 in reply to Alex Link to this post

    Never mind, I used the name instead of id in order to identify the input
  3. Kendo UI is VS 2017 Ready
Back to Top