Questions tagged [jquery-selectbox]

Custom select box replacement inspired by jQuery UI source. Requires jQuery 1.4.x or higher.

124 questions
2
votes
2 answers

jQuery and JavaScript - Allowing Default First Selection On Key Press Drop Down Behavior In Replaced Divs / Spans

We are trying to use a set of styled divs and spans to create a cross-browser styled drop down box using the jQuery Selectbox script below. It's working great, but there's a really annoying nagging issue that is that it does not do one thing that…
jon333
  • 821
  • 2
  • 16
  • 28
2
votes
1 answer

jquery: remove select options based on attribute array & other select box selection

I'm trying to set up a set of select boxes to quickly filter fairly large datasets into usable chunks. And I'm very close, but receiving the exact opposite of the solution I want, whether or not I use .not() selector (or take it out), or set up the…
dilettante
  • 381
  • 1
  • 4
  • 19
1
vote
1 answer

Return State and city on Drop down list in ASP .NET Core

I Created a form on my Asp.core project.Now I want to add a drop down list for show states and city on that form. I create a model and view model: [Required(ErrorMessage = "Required")] public string Title { get; set; } public long?…
1
vote
0 answers

Two Dynamic Select Box Can't Add URL

I am trying to create two select boxes. The visitor chooses to select I main category.When i click select1 it changes select2 checkbox. Then i click go button it won't work. I want to add select2 URLs. How Can I do that? Thanks. var $select1 = $(…
Darker
  • 11
  • 2
1
vote
1 answer

Select2 custom search

I have a select box phone numbers in us format, i need to search the values with or without formatting using select 2. For example. Select box values includes (111) 222-3333 (222) 333-4444 (444) 555-6666 Now my select 2 search only works if I search…
1
vote
0 answers

how to get html select box option selecteditem real value

I'm getting DB data from the select box list. When saving, the option value is 1, but is there a way to pass the id of the selected item as well? When saving, yes or no is 0 or 1, but the id of the actually selected itemList should be stored in…
MinaKim
  • 59
  • 11
1
vote
0 answers

Autoselect on blur/unfocus from old script

I am using this script: https://github.com/PebbleRoad/combo-select I've set it up, works great and lightweight. I want it to select the closest option(highlighted) on close(blur?) or submit - changing it's value to it. I noticed it already does this…
1
vote
1 answer

Symfony 4 - performance issue on form with a selectbox with many options

I built a form with a selectbox (EntityType) with a big amount of choices (about 50 000) : ->add( 'destination', EntityType::class, array( 'label' => 'à', 'multiple' => false, 'required' => false, 'class' =>…
Logboo
  • 223
  • 1
  • 3
  • 6
1
vote
3 answers

how to implement Depenedent Multiple selectBoxes in Angular js

I have scenario in That 3 selectBoxs are available Each selectBox Options are changed based on other SelectBoxoptions how to change Options dynamically if we select other selectBox options My JSON FORMAT :: [ { "projectname":…
Raju
  • 459
  • 5
  • 23
1
vote
1 answer

How to set default value of select box with non-existed value in Angularjs

Maybe this can has duplicated or maybe there's a way to solve this, but I couldn't find any way to solve this. So please don't be angry with my silly question and give me some information or way to solve this. Please see this fiddle. Set default…
1
vote
1 answer

Mysql select box with jquery post

i have a country state city database that displaying in select boxes and everything is working fine. What i want when state select box selected to display city results in a div or another element. When select box defined for city results there is no…
hkn
  • 11
  • 1
1
vote
1 answer

Combine the results of several select boxes by using PHP and MySQL in WordPress

I have 4 dynamic dependent select boxes, now I want to combine the result of the 4 selects into a query. I have all the relative code below. font-end part of the select boxes
L. Leo
  • 53
  • 1
  • 9
1
vote
0 answers

In Perl can one Select box be in two forms to be submitted?

I currently have two forms in my CGI script. One of the forms has a submit box. I am wondering if I can put that same box in the other form so as to send the values from the select box to two different CGI scripts via the two forms.
J.Daxter
  • 19
  • 4
1
vote
1 answer

Replace selectbox content

I would like to replace whole content in my selectbox. Here's what I have: My new content looks like: [Object, Object, Object] 0: Object Label: "A" Value: 1 1: Object Label: "B" Value: 2 and I tried replace it this way: var $el =…
mskuratowski
  • 4,014
  • 15
  • 58
  • 109
1
vote
1 answer

How to click selectbox or checkbox in CKeditor?

I want to make selectbox in CKeditor but: - When i click selectbox in ckeditor it just show dialog to config select box. ==> I want to click that selectbox it have to show dropdown values to select. And after selected and submit form that view will…
achieve
  • 11
  • 2
1
2
3
8 9