I thought it would be easy to do, but I cannot find a way.
I have a ListBox with select mode set to multiple, but I want you to be able to select multiple items without pressing CTRL.
Does anyone know an easy way to do this?
I looked for it and found the following: http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
Here are a few pointers:
Type Only:
$(function(){ $("select").multiselect(); });
Of course, you need to reference jQuery as well, and css to make it look good.
What the widget does is that it takes a selection list and turns it on, creating a list of checkboxes around it and stylishly them.
A simple jsfiddle example I compiled: http://jsfiddle.net/AFVfQ/1/
This is not ideal, but it should show you how it works. Pay attention to the resources on the left, I am referring to jquery ui css and the theme.
Source: https://habr.com/ru/post/1398603/More articles:compare the running version of the application with the market version of the application - androidSQL (Oracle) Select without an actual table containing static data - sqlSpring MVC: enabling JSP inside the view (JSP is installed next to the view, so it is not available to the external controller)? - springUsing ruby ββto automate tasks - ruby ββ| fooobar.comJava: ConcurrencyLevel value for ConcurrentHashMap - javaOpenBUGS: missing value in Bernoulli distribution - rIs it possible to complete locking from ASIHTTPRequest / AFNetworking in the background thread? - multithreading404 in MVC / webform application when accessing a service - c #How to create two sonar reports from the same project? - mavenCan I assign custom keyboard shortcuts to menu items in Ubuntu apps? - linuxAll Articles