Jquery Range Selector

A simple, fast lightweight jQuery plugin for multi-select checkbox with shift key.

Fork me on Github


  <table id="table">
    <thead>
      <tr>
        <th>#table</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><input id="range-select-1" type="checkbox"> Row 1</td>
        ...
      </tr>
    </tbody>
  </table>

                    

  // prefix is optional, the default value is 'range-select'  

  $('#table').rangeselector();
  
  or
  
  var prefix = 'range-select';  
  $('#table').rangeselector(prefix);  

                    
#table
Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Row 7
Row 8
Row 9
Row 10