File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Clearing List Boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Clearing List Boxes" Watch "Clearing List Boxes" New topic

Clearing List Boxes

Mrigasira Srinivas

Joined: Feb 28, 2001
Posts: 17
Can someone tell me how can I clear multiple selection list box?
xavier romea
Ranch Hand

Joined: Jun 28, 2001
Posts: 37
if you want to remove all options of selection list box, just set each of its elements to NULL.
Or if you want to unselect every options of a selection list box, set to FALSE the property "selected" of all Options of the selection list box.
Consider Paul's rocket mass heater.
subject: Clearing List Boxes
It's not a secret anymore!