jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Yuri Anschau
    Participant

    Problem solved, ty, it was indeed some hidden css done by some one befor me.


    Yuri Anschau
    Participant

    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.

Viewing 2 posts - 1 through 2 (of 2 total)