Top "Jquery-select2" questions

Select2 is a jQuery-based replacement for select boxes.

Dynamically add item to jQuery Select2 control that uses AJAX

I have a jQuery Select2 control that uses AJAX to populate: <input type="text" name="select2" id="select2" style=…

jquery ajax jquery-select2
Trigger an action after selection select2

I am using select2 library for my search. is there any way to trigger an action after selecting a search …

jquery search jquery-select2
How do I change select2 box height

I love the select2 box from https://github.com/ivaynberg/select2 I am using the format: option to format each …

jquery jquery-select2
Update select2 data without rebuilding the control

I am converting an <input type="hidden"> to a select2 dropdown and feeding it data through the query …

jquery jquery-select2
select2 changing items dynamically

I have two selects that are linked: Each value of the first select determines which items will be displayed in …

javascript jquery-select2
Get Selected value from Multi-Value Select Boxes by jquery-select2?

I am using Select2 Jquery to bind my dropdown which is used for multiple selection . I am using select2 jquery. …

jquery jquery-select2
How can I set the initial value of Select2 when using AJAX?

I have a select2 v4.0.0 being populated from an Ajax array. If I set the val of the select2 I …

jquery-select2 jquery-select2-4
Clear dropdown using jQuery Select2

I'm trying to programmatically clear a drop down using the fantastic Select2 library. The drop down is dynamically filled with …

javascript jquery jquery-select2
Resetting Select2 value in dropdown with reset button

What would be the best way to reset the selected item to default? I'm using Select2 library and when using …

javascript html forms jquery-select2
Select2() is not a function

So i have downloaded select2 i have "installed it" by putting it into my folder and then loaded it on …

javascript jquery jquery-select2