Questions tagged [combobox]

The combobox feature allows users to choose a single option from a list of choices, similar to a dropdown menu, or input a personalized selection.

Using Javascript to fill a Telerik MVC combobox with data sourced from an array

My project is built on MVC4 and I am attempting to populate a Telerik MVC using JSON. The result should be an array, but currently, I am only receiving one item. Below is the script I am using: function CheckWord() { var wordToCheck = $('#Cword' ...

Tips for retrieving the chosen value from an ajax.net ComboBox using javascript

Is there a way to extract the selected value from an ajax.net combobox using JavaScript for client-side validation? What would be the most effective method to achieve this? Thank you. This is how I managed to obtain the value: var combo = $get('ddlComar ...

Switch the selected option in JQuery UI dropdown using a clickable button

I have a code snippet that is almost working. My goal is to change the selection of a JQuery dropdown select combobox using a separate button named "next". What I want is for the JQuery dropdown to automatically switch to the next selection every time I c ...

Prevent Typing in Vuetify's Combobox - A Guide to Disabling Input in the Vuetify Combobox

Is there a way to prevent users from typing inside the vuetify combobox? Below is my current implementation of the combobox: <v-combobox :loading="isSurveyBeingPopulated" class="static--inputs" color="red" box :items="folders" :rules="[rules.required] ...

A guide on enabling or disabling a combobox in vuejs3

In VueJs 3, I am looking for a way to toggle the Disable/Enable status of a combo-box based on a specific property. Below is my code snippet: <template> <div class="combobox"> <label for={{selector_name}}> <p> ...

Solutions for altering the appearance of a combobox using CSS

Currently, I am experimenting with javafx 2 and trying to modify the background color of the menu/list through CSS. Despite attempting the code snippet below, nothing seems to be working as expected. Do you have any suggestions or insights on how to achi ...

Guide on efficiently transferring fetched data from a MySQL database to a php file in JSON format

Trying to retrieve data from a MySQL table and return it as JSON in a PHP file. Below is the code snippet used for connecting to MySQL and fetching data. How can I now convert this data into JSON format? <?php $username = "user"; $password = "* ...

Difficulty with virtualization in the Kendo UI combo-box when dealing with limited local data sources

The issue I am facing is that the combo box is not loading items after filtering, specifically when dealing with a small set of data (around 10-60 items). To reproduce the problem, follow these steps: Filter an item (e.g. ZIORE) from the text box. Use t ...

The Custom Validator encounters an issue retrieving the Combobox identification

I have encountered an issue where the Required Field validator fails for the Ajax Combobox, so I decided to use a custom Validator instead. However, I am facing difficulties in getting it to work with the Combobox. Interestingly, when I pass the Id of anot ...

What is the best way to customize the color of selected items in a RadComboBox using CSS?

I'm curious if it's possible to modify the "background-color" value for the selected items in a radCombobox. Below is the CSS code I've been using: (Despite being able to change other elements, I can't seem to alter the color of highli ...

Why isn't the click command functioning on the dropdown menu?

I am encountering an issue where I am trying to click on an item in a combobox, which is supposed to load a new page. However, the browser only selects the item without opening the new page. Here is the snippet of code that I am using: package org.example ...

Creating dynamic Fusion Charts with PHP and AJAX - a step-by-step guide

When a user selects a table name from a combobox, I need to generate a fusion chart on the same page. However, when I click on the value in the combobox, the output only shows "chart" and the actual chart is not displayed. Below is the code that I have at ...

"Opt for a choice that does not rely on a specific

Encountering an issue with a select menu and its model. In this scenario, usaStates represents an object array saved in the root scope. <label>State:</label> <select name="state" ng-model="selectedState" ng-options="state.name for state in ...

Fill a dropdown menu with options from a JSON object, arranging them in ascending order

I have a JSON hash that I am using to populate a combo box with the following code: $.each(json_hash, function(key, value) { $("#select").append("<option value='" + key + "'>" + value + "</option>"); }); The functionality works as in ...

Using the ExtJS Combobox to send a hiddenName value through a POST

I am in the process of configuring an ExtJS combobox to return the value instead of the display value. My issue arises when using ajax to fetch data for the combobox field and simultaneously utilizing getForm().load to load the selected values. In my mode ...

"Utilize PHP and AJAX to dynamically filter records based on selected values from a

I am looking to utilize AJAX to dynamically display a list of examinees based on the selected exam date from a dropdown list. I'm new to PHP and AJAX, so any guidance would be appreciated. <?php include 'configuration.php'; $queryselect ...

Tips for updating the hover effect color on Material UI select component options in a React JS application

I've been trying to customize the hover effect for the options in the mui Auto Complete component drop-down menu, but I'm having trouble finding the right method to do so. Here is the hover effect that I want to change: Image I'd like to u ...

Prevent the rendering of HTML in the combobox dropdown menu

Utilizing ExtJs 3.1 In my Ext.form.ComboBox, the store includes values such as: "value1", "<value2>", "value3". The issue arises when the combobox dropdown list is displayed, and "<value2>" is being interpreted as an HTML tag. This is causing unwant ...