Suppose you create a textbox.
You use kendo ui to make it numeric textbox as follows,
$('#numeric').kendoNumericTextBox();
Now the problem is when you try to make focus on this text box, you see you can’t simply focus on the textbox using simple jquery function,
$('#numeric').focus()
The problem you can found when you deeply debug the rendered html output. You can see that your actual code to create html textbox is now hidden by kendo plugin, that creates another tag and add all the styles for numeric text box.
Something like this
# # -- Hidden part
That is the reason why focus() was not working, it simply unable to find the element with id=’numeric’ as it is hidden.
So, whenever you have the internal structure you can now easily focus the textbox. There are several jquery function to traverse the DOM. But the best function in this case is use to siblings() like the following,
$('#numeric').siblings('input:visible').focus();
And you are done.