I did not, using keyup to get info when you press enter on the selected one:
$(“#Name_Client”).keyup(function (event) {
if (event.keyCode == 13) {
var Cod = $(“#Name_Client”).val();
if (isNaN(Cod) == true || Cod == “”) {
Cod = 0;
Contact_Clear();
}
else {
isedit = false;
Contact_Edit(Cod);
}
}
});
If the text is a actual data inside my combo val() will be a number and then i edit my client existing info, otherwise its a string and i clear my fields for the new insert. This is what im doing, for now, since i couldnt find a way around the selected event.