I'm trying to programmatically clear a drop down using the fantastic Select2 library. The drop down is dynamically filled with a remote ajax call using the Select2 query option.  HTML:  <input id="remote" type="hidden" data-p...
I have two selects that are linked: Each value of the first select determines which items will be displayed in the second select.  The values of the second select are stored in a two-dimension array:  [ [{"id":1,"text":"a"}, {...
Ok, I'm sure there's something simple set wrong here but I'm not 100% what it is.  So I am trying to use Select2 AJAX method as a way of users to search a database and select a result.  The call itself is coming back with results, however...
I am doing tagging with select2  I have these requirements with select2:   I need to search some tags using select2 ajax Also I need to use "tags" in select2 which Allows values that are not in the list(Ajax result).   Both the scenarios work...
I use the js library select2. This is a screenshot of what I have now: Start:   Click on dropdown:   Now is it possible to have an input field to start with and not directly a dropdownlist? I know it's possible because you can find it on the sele...
Does somebody have an easy to use example of a country drop-down, with country flags, for Select2? I am about to implement one based on this suggestion, but I would prefer to avoid reinventing the wheel....
I'm using Select2 version 4.0.0.  If my results contain multiple words, and the user enters one of those words, I want to display the results sorted by where the entered word is within the result.  For example, a user enters "apple", and...
I'm using the Select2 plugin from http://ivaynberg.github.io/select2/select2-latest.html what works fine but i'm having a problem to get the values from the options attributes.  I've got a select menu like this:  <select name="invo...
I've had a look at some other threads but nothing quite as specific. It's not really something that I would assume is hard but I'm not sure how about to do it.  Currently I'm using Select2 for a tagging system and next to it I have su...
How to make placeholder for select2 jQuery plugin. On StackOverflow many answers how to make placeholder there, but they about element's placeholder. I need to specify a placeholder for the search box, see pic....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.