Multi Js

OverviewOfficial Website

Multi js is a user-friendly replacement for select boxes with the multiple attribute.

CSS
<!-- multi.js css -->
<link rel="stylesheet" type="text/css" href="../assets/libs/multi.js/multi.min.css" />
Javascript
<!-- multi.js -->
<script src="../assets/libs/multi.js/multi.min.js"></script>
Initjs (Custom js)
<!-- init js -->
<script src="../assets/js/pages/form-advanced.init.js"></script>
Examples
Title Javascript
Basic Example
var multiSelectBasic = document.getElementById("multiselect-basic");
multi(multiSelectBasic, {
  enable_search: false
});

Headers
var multiSelectHeader = document.getElementById("multiselect-header");
multi(multiSelectHeader, {
  non_selected_header: "Cars",
  selected_header: "Favorite Cars"
});
Option Groups
var multiSelectOptGroup = document.getElementById("multiselect-optiongroup");
multi(multiSelectOptGroup, {
  enable_search: true
});
© Toner.
Design & Develop by Themesbrand