Hi,
I use dropdownlist ,and i want to catch the event when user changes his selection
When I use the mouse,I succeed to catch the "change" event,but when i use the keyboard ,the "change" event does not fire (the auto complete of the dropdown works),How can I catch this event or any other event for changing dropdown selection with keyboard
?
I attached my code below.
Thanks in advance.
html code:
<input id="identificationTypes" name="identificationTypes" requiredidtype />
script code:
$("#identificationTypes").kendoDropDownList({
index: 0,
optionLabel: "-------please choose------",
dataTextField: "Value",
dataValueField: "Key",
filter: "contains",
change: onChange,
dataSource: {
type: "json",
pageSize: 20,
transport: {
read: "../ContactDetails/GetIdentificationTypes"
}
}
});
function onChange() {
alert('bla');
}
I use dropdownlist ,and i want to catch the event when user changes his selection
When I use the mouse,I succeed to catch the "change" event,but when i use the keyboard ,the "change" event does not fire (the auto complete of the dropdown works),How can I catch this event or any other event for changing dropdown selection with keyboard
?
I attached my code below.
Thanks in advance.
html code:
<input id="identificationTypes" name="identificationTypes" requiredidtype />
script code:
$("#identificationTypes").kendoDropDownList({
index: 0,
optionLabel: "-------please choose------",
dataTextField: "Value",
dataValueField: "Key",
filter: "contains",
change: onChange,
dataSource: {
type: "json",
pageSize: 20,
transport: {
read: "../ContactDetails/GetIdentificationTypes"
}
}
});
function onChange() {
alert('bla');
}