This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 63351
    
  70

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in retriving multiple checkbox values
 
jQuery in Action, 3rd edition