Answer the question
In order to leave comments, you need to log in
Selecting checkboxes by holding the mouse like in Yandex Mail?
I want to implement a selection of checkboxes, which are located in a list, by holding down the mouse button (as in Windows, selecting files). I came across selectable from jquery, but I would like something more practical and simple
Answer the question
In order to leave comments, you need to log in
Clamp .
UPD. Taken from the comments:
Is there a way to remove checkboxes in the same way, if doing by analogy is clumsy?
here is an analogy and that's why clumsily
Well, there are different options here ...
You can set the checkbox on the left button, shoot on the right, like so .
You can invert the state of a checkbox on a mouseover event, like so .
You can set checkboxes by holding down the mouse button, and remove them by holding down the mouse button + holding down the ctrl key, like so .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question