Top "Jquery-select2-4" questions

Select2 4.0 was released in April 2015 and is a complete rewrite of the Select2 code base.

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
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
How do you modify "No Results Found" language in Select2 v4.0

I attempted to use the "language.noMatches" option when initiating Select2 and its throwing an undefined function? How do I …

jquery-select2-4
How to render html in select2 options

In this example of data loaded from a remote source I can see images and other html elements rendered as …

jquery html jquery-select2 jquery-select2-4
How to change the css of color of select2 tags?

I just started using project for showing multiple tags from a select box and it works great, thanks for the …

css twitter-bootstrap jquery-select2 jquery-select2-4
I need to add "Add new item" option in Select2

I want to add a button in first element of the list to "Add new item". If user clicks on …

jquery jquery-select2 jquery-select2-4
Select2 v4 how to paginate results using AJAX

I'm trying to paginate results (every 25 rows) using Select2 4.0, but I don't know how to achieve it. Does somebody know …

jquery laravel jquery-select2 jquery-select2-4
how to change select2 value programmatically

I have a select2 box in bootstrap modal, I want to change the value of the select2 box but it …

jquery-select2 jquery-select2-4
select2 search - match only words that start with search term

I migrated from chosen to select2 plugin because it works better for me, but its documentation is very poor when …

jquery-select2 jquery-select2-4
Get selected option in Select2 event, when multiple options can be selected

How can I get hold on the <option> that was just selected when listening to the select2:select …

jquery-select2 html-select jquery-select2-4