Last active
December 24, 2015 08:19
-
-
Save Pierry/6769422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
Country: <input id="countriesAutoComplete" class="k-input" /> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add AutoComplete initialization code here | |
var countries = [ "Australia", "America", "Canada", "United States" ]; | |
var countriesDataSource = new kendo.data.DataSource({ | |
data: countries | |
}); | |
$(function(){ | |
$("#countriesAutoComplete").kendoAutoComplete({ | |
dataSource: countriesDataSource | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment