7,2%
$129,920
Last Month
0,6%
$14,293
Today
0,8%
$190,250
Last Week
3,2%
$10,250
Last Hour
Fast21 80%
Eco Newmars 70%
Best Niket 60%
Real Five 40%

Select2

Start values

$('select').select2();

Customized style


$('select').select2();

Hide search box

$('#sel2-hideSearch').select2({
  minimumResultsForSearch: Infinity
});

Show placeholder

$("#sel2-showPlaceholderMulti").select2({
  placeholder: "Multi-select Placeholder"
});

Close button

$("#sel2-showClose").select2({
  placeholder: "Select a state",
  allowClear: true
});

Methods


var $example = $("#js-example-programmatic").select2();
$(".js-programmatic-set-val").on("click", function () {
  $example.val("CA").trigger("change");
});
$(".js-programmatic-open").on("click", function () {
  $example.select2("open");
});
$(".js-programmatic-close").on("click", function () {
  $example.select2("close");
});
$(".js-programmatic-init").on("click", function () {
  $example.select2();
});
$(".js-programmatic-destroy").on("click", function () {
  $example.select2("destroy");
});

Multi-select boxes (pillbox)

$('select').select2();

Select2 on Modal





$('#mySelect2 #mySelect3 #mySelect4').select2({
  dropdownParent: $('#myModal')
});

RTL Support

$("#rtl-support").select2({
  dir: "rtl"
});