Implement multiple selects with jQuery UI Selectable

前端 未结 5 1732
感动是毒
感动是毒 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:43

    Have you checked the demo page for selectable? You can already do this. To select multiple items, just hold control. This is similar to how you would work with files. Is using "Ctrl+Click" not good enough?

    Demo Code Here:

    
        
    
    
    1. Item 1
    2. Item 2
    3. Item 3
    4. Item 4
    5. Item 5
    6. Item 6
    7. Item 7

提交回复
热议问题