Implement multiple selects with jQuery UI Selectable

前端 未结 5 1740
感动是毒
感动是毒 2020-12-13 07:09

can anyone help me use the jquery ui selectable library to perform the following functions:

  • Allow a user to select multiple items with a mouse click
  • D
5条回答
  •  情深已故
    2020-12-13 07:38

    use this code may be ot helps you

      $('#selectable').bind("mousedown", function (e) {
          e.metaKey = true;    
     }).selectable('filter : td')​
    

    if you are using the selectable on table for td's the use selectable('filter : td')​ else

    use selectable()​

提交回复
热议问题