Coder Social home page Coder Social logo

beeman / multi.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fabianlindfors/multi.js

0.0 3.0 0.0 8 KB

A user-friendly replacement for select boxes with multiple attribute enabled

Home Page: fabianlindfors.se/multijs

License: MIT License

JavaScript 84.75% CSS 15.25%

multi.js's Introduction

multi.js

multi.js is a user-friendly replacement for select boxes with the multiple attribute. It is mobile-friendly, easy to use, and provides search functionality. multi.js is also easy to customize and style with CSS.

Requires jQuery 1.6+.

Check out the demo.

Preview of multi.js

Installation

Clone or download the repository to your project and include both files in the dist directory. Make sure to include jQuery before including multi.

<!-- Include jQuery -->

<link rel="stylesheet" type="text/css" href="multijs/dist/multi.min.css">
<script src="multijs/dist/multi.min.js"></script>

Usage

multi.js can be applied to any select element with the multiple attribute enabled.

$('.your-select-element').multi();

To customize multi a few options can be passed with the function call. Below are all the default values.

$('.your-select-element').multi({
    'enable_search': true,
    'search_placeholder': 'Search...',
});

License

multi.js is licensed under MIT.

multi.js's People

Contributors

fabianlindfors avatar okon3 avatar

Watchers

beeman avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.