jQWidgets Forums

jQuery UI Widgets Forums Editors MaskedInput Set default value of input with drop down list

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 11 months ago.

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

  • sjkcwatson
    Participant
    In this example http://jsfiddle.net/jqwidgets/N622s/
    
    Is ther ean example that I am missing on how eould I change the set new value button to pick one of the countries (ie Belize) instead of just updating the value of the text box?
    
    I have the following pulling from a json dataadaptor
    
    

    $(“#eCapaRespEmp”).jqxInput({
    source: searchActiveEmpAdapter,
    placeHolder: vEmpSearchPrompt,
    displayMember: “s_EmpSearchStr”,
    valueMember: “s_EmpID”,
    width: 225,
    height: 20
    });`

    I’d like to say
    if (myEmpID != ”) {
    //set (“#eCapaRespEmp to the matchint s_empid in the list and have it display s_empSearchStr like the picked it
    };`

    Thanks!


    ivailo
    Participant

    Hi sjkcwatson,

    From your explanation it seems to be something like this code.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.