Skip to content

Instantly share code, notes, and snippets.

@Pierry
Last active December 24, 2015 08:19
Show Gist options
  • Save Pierry/6769422 to your computer and use it in GitHub Desktop.
Save Pierry/6769422 to your computer and use it in GitHub Desktop.
<p>
Country: <input id="countriesAutoComplete" class="k-input" />
</p>
//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