Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 5 months ago. Improve this question I have a combobox like this after that, I have a checkbox. If
Tag: combobox
extjs combo box getCount() on store returns 0
I am trying to get the number of items in the combo box so that I can make the first value by default visible in the combo box using the getCount() method but I see it always return 0 so cannot get the first item to be displayed in the combo box. Code for my combo box is as shown
Get option value in combobox and textarea receive this value to copy
I’m a JavaScript beginner, I want to get the option’s value but in my current code I’m getting its text content. Example of what I need: User selects option “Blue” -> textarea receives value “sky is blue”. Then on button click “sky is blue” is copied to clipboard. User selects option “Black” -> textarea receives value “I like this color”.