This event is fired when the value of the underlying input element is changed by the AutoComplete widget.

The check for an updated value is performed when the user presses the Enter key on an item on the auto complete suggestion list and when the focus is moved to another element.

<input id="autocomplete"></input>

<script type="text/javascript">

     $(function () {
            dataSource: {
                data: myData
            events: {
                change: function (e) {
                    alert("Selected value: " + $("#autocomplete").val());