Custom select box replacement inspired by jQuery UI source. Requires jQuery 1.4.x or higher.
Questions tagged [jquery-selectbox]
124 questions
                    
                    44
                    
            votes
                
                4 answers
            
        How to check whether a select box is empty using JQuery/Javascript
I have a select box that is being populated dynamically from a database. As of right now the population of this check box is working flawlessly.
I have added functionality that consists of a button which on click calls isSelextBoxEmpty. The job of…
         
    
    
        AGE
        
- 3,752
- 3
- 38
- 60
                    27
                    
            votes
                
                5 answers
            
        Using jquery to determine selected option causes "specified attribute is deprecated" warning
Probably missing something pretty obvious but I can't figure out what is going on.  I am trying to use jquery to determine the currently selected option in a dropdown (See fiddle) but when I do something like the following I get a Warning in the…
         
    
    
        malonso
        
- 2,247
- 1
- 21
- 33
                    6
                    
            votes
                
                4 answers
            
        
                    3
                    
            votes
                
                1 answer
            
        How to loop through & add pairs of values to JSON object?
Using the jQuery SelectBox plugin I'm trying to create a JSON object which looks as follows, where 'value' and 'name' are pairs of values for a select box:
'Opt Group 1': {
    'value': 'name',
    'value': 'name',
    'value': 'name',
    'value':…
         
    
    
        Joe W
        
- 998
- 6
- 16
- 36
                    3
                    
            votes
                
                2 answers
            
        Angularjs, select Box create blank option at first always
I got some problems with selectbox.
In my original code, I receive an object through $http calling, and that is like below.
[
    {key:'user_id', value:'ID'},
    {key:'user_name', value:'Name'},
    {key:'user_gender', value:'Gender'},
   …
         
    
    
        Canet Robern
        
- 1,049
- 2
- 11
- 28
                    3
                    
            votes
                
                2 answers
            
        Can't assign a string to another string in an onchange = function()
I have this:
If i select another value, an onchange = function() is called:
var prio =…
         
    
    
        dagrato
        
- 33
- 4
                    3
                    
            votes
                
                2 answers
            
        How to reset a select box after hiding a modal?
I have a select box:
                    2
                    
            votes
                
                2 answers
            
        Call a function when a selected item is selected again
I have a dropdown menu in my web page. I already used x.change(y); to do some thing when the selected item changes. But I want to call a function when the user selecting the same selected item.
Here is my HTML code.
    
                    2
                    
            votes
                
                5 answers
            
        
                    2
                    
            votes
                
                1 answer
            
        Integrating dynamic dependent select box into WordPress
I want to add part search into a website powered by WordPress. I have currently achieved the function, but I have trouble of integrating it into WordPress. I tried several ways but the dynamic dependent select box still not working.
I followed this…
         
    
    
        L. Leo
        
- 53
- 1
- 9
                    2
                    
            votes
                
                1 answer
            
        getting val from a 'jQuery Selectbox plugin 0.2' select box dropdown
I recently posted about a problem I was having with not being about to ge the .val() from a selected dropdown.  The code was correct but something was preventing the on change from firing correctly.  I've narrowed the issue down and found when I…
         
    
    
        null
        
- 3,469
- 7
- 41
- 90
                    2
                    
            votes
                
                4 answers
            
        jQuery - Enable Disable (Toggle) Selectbox onClick Button
How can I Toggle a Selectbox between Enable and Disable onClick button...
Scenario:
If I click on #locked div, this div should toggle with another class "icon-unclocked" and selectbox should be enabled. If I click on "#locked" again, selectbox…
         
    
    
        Reddy
        
- 1,477
- 29
- 79
                    2
                    
            votes
                
                2 answers
            
        Jquery selectBox conflict with jquery ui datepicker
My datepicker plugin dosen't close if I use jquery selectBox plugin. The code I using:
jQuery( document ).ready(function( $ )
{
  $(".date-field input").datepicker
  ({ 
    dateFormat: "yy/mm/dd",
    minDate: "2012/03/01",
    maxDate: "0d",
   …
         
    
    
        caju
        
- 179
- 1
- 11
                    2
                    
            votes
                
                1 answer
            
        how can jquery remove row dynamically
I am using jquery1.9 , I want to add or remove a line dynamicly by click the add/remove image
The below is the most important html code:
- 
      … diligent diligent- 2,282
- 8
- 49
- 64
 
                    2
                    
            votes
                
                1 answer
            
        Jquery Selectbox I beam Issue
Here is a selectbox(I've used and modified). When I click on the select box it turns into a text input and show the I-beam. Just wanted to disable this I-beam. How can I get that?
Check JSfiddle
Here is the html:
         
    
    
        Asif
        
- 716
- 2
- 15
- 37
