What am i doing wrong in my code :(

2 posts, 0 answers
  1. Nadia
    Nadia avatar
    1 posts
    Member since:
    May 2014

    Posted 11 May 2014 Link to this post

    hi all, I don't know what am I doing wrong here, its a pretty straight forward things. autocomplete is not showing anything.

    moviesuggestions =
    new kendo.data.DataSource({
        autoSync: true,
        transport: {
            read: function (options) {
                theMovieDb.search.getMovie({ "query": $("#seriesname").val(), search_type: "ngram" },
                function (data) {   //success
                }, function (data) {    //error
    autocomplete = $("#seriesname").kendoAutoComplete({
        datasource: moviesuggestions,
        dataTextField: "title",
        suggest: true
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2543 posts

    Posted 12 May 2014 Link to this post

    Hello Nadia,

    From the provided sample I cannot tell you what exactly is the problem in your code. Here is a code sample showing a working autocomplete that you can edit. So please edit the example in order to show the issue that you are facing, so we can better assist you:


    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top