Top "Jquery-select2" questions

Select2 is a jQuery-based replacement for select boxes.

How to use placeholder as default value in select2 framework

To get the chosen value of a select2 I'm using: var x = $("#select").select2('data'); var select_choice = x.text …

jquery jquery-selectors jquery-select2
select2 onchange event only works once

I have a problem with the jQuery's Select2. When the page loads, if O click on the search result it …

jquery events onchange jquery-select2
Setting initial values on load with Select2 with Ajax

I have select2 controls set up with Ajax (have both single and multiple). I'm trying to have some values on …

jquery ajax jquery-select2
Styling of Select2 dropdown select boxes

I'm using Select2 in a project to style some select boxes in a search form. I managed to change the …

css jquery-select2
How can I disable selected attribute from select2() dropdown Jquery?

I know how to enable the selected attribute from dropdown; I can use this code : $('select').select2(); but my problem …

attributes jquery-select2 selected
"query function not defined for Select2 undefined error"

Trying to use Select2 and getting this error on multiple item input/text field: "query function not defined for Select2 …

javascript runtime-error jquery-select2
Select2 open dropdown on focus

I have a form with multiple text inputs and some select2 elements. Using the keyboard to tab between fields works …

javascript jquery jquery-select2 jquery-select2-4
Select2 dropdown but allow new values by user?

I want to have a dropdown with a set of values but also allow the user to "select" a new …

jquery-select2
select2 - Setting different width to input and dropdown

I am using Select2 3.3.2 I have very very long options in the select. Example: <select id="e1"> <…

jquery css select jquery-select2
Select2 doesn't show selected value

Select2 loads all items from my list successful, the issue I found when try to select a specific value when …

jquery-select2