aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes count the total number of selected items in multilist select box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "count the total number of selected items in multilist select box" Watch "count the total number of selected items in multilist select box" New topic
Author

count the total number of selected items in multilist select box

auvrm papu
Ranch Hand

Joined: Sep 01, 2005
Posts: 105
How to count the total number of selected items in multilist select box
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Loop through the items and see if it is selected.

Eric
auvrm papu
Ranch Hand

Joined: Sep 01, 2005
Posts: 105
isn't there something like

fieldname.options.selected.length?? ( i know this is wrong, just asking)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

No.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: count the total number of selected items in multilist select box