
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
bootstrap-multiselectsplitter
Advanced tools
Transforms a <select> containing one or more <optgroup> in two chained <select>.
This script is better version of bootstrap-selectsplitter, for multi select with more script options. If you want to select more options, you must hold CTRL key. (default select behaviour)
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
npm i bootstrap-multiselectsplitter
Create a <select> with at least one <optgroup>.
Each <option> of your <select> must have a unique value.
<select multiple="multiple">
<optgroup label="Category 1">
<option value="1">Choice 1</option>
<option value="2">Choice 2</option>
<option value="3">Choice 3</option>
<option value="4">Choice 4</option>
</optgroup>
<optgroup label="Category 2">
<option value="5">Choice 5</option>
<option value="6">Choice 6</option>
<option value="7">Choice 7</option>
<option value="8">Choice 8</option>
</optgroup>
<optgroup label="Category 3">
<option value="9">Choice 9</option>
<option value="10">Choice 10</option>
<option value="11">Choice 11</option>
<option value="12">Choice 12</option>
</optgroup>
</select>
$('select').multiselectsplitter();
$('select').multiselectsplitter('enable');
$('select').multiselectsplitter('disable');
$('select').multiselectsplitter('destroy');
DEFAULT: null
DEFAULT: null
DEFAULT: false
DEFAULT: false
DEFAULT: false
DEFAULT: null
DEFAULT: null
DEFAULT: function (maximumSelected) { alert("Only " + maximumSelected + " values can be selected"); }
DEFAULT: function (label, $originalSelect) { return '<option>' + label + '</option>'; }
DEFAULT: function (label, $firstSelect) { return '<option>' + label + '</option>'; }
DEFAULT: <div class="row" data-multiselectsplitter-wrapper-selector><div class="col-xs-12 col-sm-6"><select class="form-control" data-multiselectsplitter-firstselect-selector></select></div><div class="col-xs-12 col-sm-6"><select class="form-control" data-multiselectsplitter-secondselect-selector></select></div></div>
1.0.1 - added functions for disabling/enabling
1.0.0 - release
Copyright (C) 2016 Ing. Matúš Ferko
Licensed under the MIT license.
FAQs
Bootstrap extended for multi select splitter
The npm package bootstrap-multiselectsplitter receives a total of 2,096 weekly downloads. As such, bootstrap-multiselectsplitter popularity was classified as popular.
We found that bootstrap-multiselectsplitter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.