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 How to get all dropdown values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

How to get all dropdown values

Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 151
i've a case where i have to get the total of all the dropdown elements. i'm able to achieve it individually. and the below is the code that worked for individual selection.

and the jsp is as below.

what i want is to get the sum of all when i select all in drop down.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

Please do not post the same question more than once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to get all dropdown values
jQuery in Action, 3rd edition