wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 136
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: 60821

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: How to get all dropdown values
Similar Threads
jsp form with two submit button
how to get form parameters data to a servlet?
Redirct page in Tilse with JSTL
Add options text to select from javascript?
struts simple program