tShift is a jquery plugin that allows you to use shift selection in your checkboxes.
It was built using the jQuery library.
Copyright (c) 2023 Alfredo Berumen Saldivar
http://berumen.xyz
@berumen
Include tShift plugin in your website directory then load files in the section of your HTML document. Don't forget to add the jQuery library version >= 1.12.4.
<head>
<script src="https://code.jquery.com/jquery-3.6.3.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/jquery.tshift.min.js"></script>
</head>
Just put your checkbox list inside a div with an id, use whatever name you wish for the id. You can use nested divs inside your main div. For example:
Trigger the plugin using the following code:
<script>
$(document).ready(function() {
$('#my_id').tshift();
});
</script>s
For a live demonstration visit: tShift demo
Or visit the official web page: Official site
Licensed under MIT license
Have a bug? Please create an issue on GitHub at https://github.com/berumen/tShift/issues