• Post Reply Bookmark Topic Watch Topic
  • New Topic

count the total number of selected items in multilist select box  RSS feed

 
auvrm papu
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to count the total number of selected items in multilist select box
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Loop through the items and see if it is selected.

Eric
 
auvrm papu
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
isn't there something like

fieldname.options.selected.length?? ( i know this is wrong, just asking)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!