jquery-select2 Questions
1
Solved
I am trying to use SELECT2 in ASP.Net in combination with a dropdown list.
This is my .aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="ASPNet_SELECT2_...
Nopar asked 10/1, 2016 at 19:23
3
Solved
I've been trying to change the default blue hover color to something different in the Select2 elements in the website I'm designing, but no success so far. What's the correct, working css selector ...
Lindstrom asked 16/1, 2014 at 16:53
2
Solved
I am using select2 and ajax to query my database for terms under a certain taxonomy, but when I search the search boxes just hangs on "searching" without retrieving any results.
This is my html
...
Nombril asked 6/1, 2016 at 18:40
2
Solved
How can I adjust the position of Select2 container so that the search box is position right over the original select element like in this website
http://www.jobnisit.com/en
It look cleaner in ter...
Hectometer asked 22/7, 2015 at 7:21
4
Solved
I have some code that creates an accordion with a select2 element which has a class called docType. I also have jquery code to trigger an event on selecting a value of the jquery element. While thi...
Jeremiad asked 23/12, 2015 at 16:12
3
I'm using Select2 4.0.0-rc.2.
The Options page states the following about initSelection
In the past, Select2 required an option called initSelection that was defined whenever a custom data sou...
Usm asked 20/4, 2015 at 13:53
1
Solved
How some items can be group in separate optgroups? Should be set in different JSON objects? There is no example in select2 documentation. Any help or direction would be helpful.
Here is example co...
Trahan asked 22/12, 2015 at 19:52
2
Solved
For some reason when a user goes to edit an entry none of the data he had inputted via .select2 is shown. The data was saved though.
irb(main):001:0> Routine.find(1)
=> #<Routine id: 1, m...
Discrown asked 15/12, 2015 at 20:8
2
Solved
I am using jQuery select2 control and I need to implement the following functionality: if the user tries to add a certain element, based on some algorithm, I should delete another (incompatible) el...
Wiltshire asked 18/5, 2015 at 15:23
7
Solved
I am using a select 2 dropdown and then showing some long sentences in its content. I want to add line breaks to the sentence at the right place but the drop down is auto adjusting.
For example the...
Hypothesis asked 8/12, 2015 at 2:17
3
Solved
Here is what the json string looks like that gets returned from my coldfusion page: [{"client":"Asante","id":12},{"client":"City of Lancaster","id":14},{"client":"Massey Energy","id":35},{"client":...
Intima asked 1/3, 2013 at 14:59
3
Solved
I am using select 2 example from http://ivaynberg.github.io/select2/
I am using "Loading Remote Data" example in this page.
Problem: As soon as I type a letter, system makes an ajax call. I want t...
Barmecidal asked 11/8, 2013 at 17:55
5
Solved
Trying to implement a custom select dropdown using select2 plugin
Is it possible to have the selected value to display only the actual option 'value' instead of the text, so if I selected 'Australi...
Flummox asked 6/5, 2013 at 7:16
3
Solved
This select2 jquery library looks awesome. There is a Rails gem but it is very light on the documentation.
I would like to generate a simple multiple drop-down menu, using autocomplete. How do I do...
Woollen asked 28/2, 2013 at 21:47
1
I'm new to the Javascript, jQuery, Ajax and jSON world.
What I need to do is to mix 2 options available with SELECT2
Placeholders
$("#e2_2").select2({
placeholder: "Select a State"
});
and
...
Phoebe asked 12/9, 2012 at 8:1
3
Solved
All,
I have two select boxes :
Fruit select
FruitQuantity select
Depending on what option is selected in Fruit will affect the options of FruitQuantity.
So using select2, I wanted to replace ...
Brigittebriley asked 10/11, 2015 at 9:27
2
Solved
I'm using the jQuery select2 plugin and trying to get the AJAX to work with my ext data which is obviously not working and I'm just wondering if someone can point out what I'm doing wrong or missin...
Willpower asked 25/2, 2014 at 18:12
1
I am trying to setup my pre defined select options in select2
with ajax
but when I am using the ajax and clicking on the select2 it removes the html options I had there before, any idea how can I ...
Belay asked 23/6, 2015 at 14:14
4
Solved
I am using select2 version 4.0, and I am trying to make a programmatic selection to a select box which gets its data from an ajax call.
In the documentation, I found how to set a value programmati...
Roasting asked 17/4, 2015 at 16:37
2
Is there a way I can set selected id/text in select2 in HTML just like is being displayed and selected?
I am using jquery select2 version 4.0.0
this is the code:
$("#users").select2({
placehold...
Paramnesia asked 8/10, 2015 at 23:39
4
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 ...
Iveyivie asked 7/8, 2013 at 9:15
2
I am using select2 version 4 with multiple select and I support users adding new tags but I want to prevent people choosing a new tag if that tag already exists on my backend.
Right now if a user...
Ehtelehud asked 2/10, 2015 at 14:25
3
Solved
I would like to have a select2 dropdown of tags, where i could select multiple existing tags and add new ones.
I have tried many different ways and i either don't get select2 box working or only o...
Agneta asked 18/9, 2015 at 12:11
2
Solved
I insert rows of concepts (with select and input text elements) in my DOM through AJAX. And I want to initialice those select to select2: but I don't know the proper way to do that.
I should writ...
Gsuit asked 7/10, 2015 at 4:56
3
Solved
I am migrating over to select2 to use as a tagging plugin from another plugin but there is one gap that I am trying to figure out if select2 can support.
Let look at an example. Lets say my list o...
Kaspar asked 26/9, 2015 at 13:22
© 2022 - 2024 — McMap. All rights reserved.