I have a form with multiple combo boxes, all have the same OnSelect event.
When I call the OnSelect I need to determine which combo box actually fired the event.
Here is my OnSelect function...
function combo_OnSelect(e) {
var dataItem = this.dataItem(e.item.index());
var control = $(this).val();
if (dataItem.Value == "Lookup") {
var dialog = $("#window_Lookup").data("kendoWindow")
dialog.center().open();
}
}
The bolded part throws an error, so what is the correct way to determine the combo box name?