<inputid="autocomplete"/><script>$("#autocomplete").kendoAutoComplete({dataSource:["Apples","Oranges"],select:function(e){var item = e.item;var text = item.text();/* The result can be observed in the DevTools(F12) console of the browser. */console.log(text);// Use the selected item or its text}});</script>
<inputid="autocomplete"/><script>functionautocomplete_select(e){var item = e.item;var text = item.text();// Use the selected item or its text}$("#autocomplete").kendoAutoComplete({dataSource:["Apples","Oranges"]});var autocomplete =$("#autocomplete").data("kendoAutoComplete");
autocomplete.bind("select", autocomplete_select);</script>
<inputid="autocomplete"/><script>$("#autocomplete").kendoAutoComplete({dataSource:["Apples","Oranges"],select:function(e){//call preventDefault() to prevent the selection
e.preventDefault();}});</script>