File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes problem in retriving multiple checkbox values Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "problem in retriving multiple checkbox values" Watch "problem in retriving multiple checkbox values" New topic
Author

problem in retriving multiple checkbox values

sahana mithra
Ranch Hand

Joined: Oct 26, 2010
Posts: 72
Hi all,
I am unable to access the values of checkboxes i select.
Here is my code which i tried.







I get only one value in my alert though I select more than one value.
For example if i select red, blue, green, After I select each, I get only one in my alert.
Please help me . Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56201
    
  13

Posting server-side markup in this forum is useless. Please post the final rendered HTML that is sent to the browser.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem in retriving multiple checkbox values
 
Similar Threads
Regarding jstl issue
Cant get complete values from javascript to JSP code
struts and multibox
checkbox and select
jsp forEach, jquery to fetch values of selected row