jQWidgets Forums

jQuery UI Widgets Forums General Discussions Lists ComboBox user input using combobox

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • user input using combobox #65705

    edwardsmarkf
    Participant

    hello – i have many situations where i use both a dropdown-select and new user input. somebody can either select from a value in the dropdown or enter a new value in a text field. then the next time they visit the page, whatever value they entered into the text field will be part of the drop-down.

    i notice the combo-box is using a user text-area but its not ID’ed. i might be able to extract the value using the jqx-combobox-input class but i dont feel comfortable trying this, without some forum guidance.

    is there any way somebody can type into this field and have whatever they typed available through jQuery?

    or is there a better jqwidget option for somehow combining a dropdown selector with user input?

    thank you all very much.

    user input using combobox #65723

    Peter Stoev
    Keymaster

    Hi edwardsmarkf,

    There is val method which you can use. It returns either the selected item’s value or the input’s value when there’s no selected item.

    Best Regards,
    Peter Stoev

    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.