This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Allow users to desect from SELECT? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Allow users to desect from SELECT?" Watch "Allow users to desect from SELECT?" New topic

Allow users to desect from SELECT?

Shawn Kuenzler
Ranch Hand

Joined: Apr 16, 2006
Posts: 73
I have a multiple select SELECT list and my users are complaining that they don't want to have to click the 'reset' button to clear their selections. Is there a way to set up a SELECT list similar to Checkbox in which users can simply click on a selected item to deselect it?


SCJP 1.5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15292

If you hold down the CTRL key, you can deselect.

GenRocket - Experts at Building Test Data
It is sorta covered in the JavaRanch Style Guide.
subject: Allow users to desect from SELECT?
Similar Threads
Use realm to change password
Passing parameters from jsp to servlet
EMSRV not starting
How to make reference to other packages in Eclipse?
select all in list box