Set focus on autocomplete control?

2 posts, 1 answers
  1. Kjell
    Kjell avatar
    274 posts
    Member since:
    Jun 2010

    Posted 11 Jun 2012 Link to this post

    Seems like a dumb question but I can't figure out how to set focus.  I tried:


    the above works for a dropdown but not autocomplete, input appears to be undefined.  How do I manually set focus on a kendoAutoComplete?
  2. Answer
    Mark avatar
    1 posts
    Member since:
    Apr 2012

    Posted 30 Jun 2012 Link to this post

    This is working for me:

    <input  id="username"  data-role="autocomplete"  ..../>

    $(document).ready(function () {  
           // snip

Back to Top