This version is old school.
Please find jQuery plugins on npm.
jQuery Bulk Select
by Mike Angell
jQuery Plugin for making child elements selectable supports Ctrl+Click, Command+Click and Shift+Click.