Edit this page

change

Fires when the ListBox selection has changed.

The function context of the event handler (available through the this keyword) that will be set to the widget instance.

Example

<select id="listBox"></select>
<script>
$("#listBox").kendoListBox({
    dataSource: [ "John Doe" ],
    change: function() {
        // handle event
    }
 });
 </script>

To set after initialization

<select id="listBox"></select>
<script>
$("#listBox").kendoListBox({
    dataSource: [ "John Doe" ]
});
// get a reference to the list box
var listBox = $("#listBox").data("kendoListBox");
// bind to the change event
listBox.bind("change", function(e) {
    // handle event
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy