This is a migrated thread and some comments may be shown as answers.

Select input after navigating to a view

1 Answer 37 Views
View
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 11 Jun 2014, 06:25 PM
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();

1 Answer, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 11 Jun 2014, 06:52 PM
Never mind, I used the name instead of id in order to identify the input
Tags
View
Asked by
Alex
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Share this question
or