wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to send Checkbox Value in a JSP page. 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
Bookmark "How to send Checkbox Value in a JSP page." Watch "How to send Checkbox Value in a JSP page." New topic
Author

How to send Checkbox Value in a JSP page.

Talha-bin -Shakir
Ranch Hand

Joined: Jan 26, 2006
Posts: 32
i want to send the values of a check box array to a jsp page using ajax. when i checked the check box so the value of that check box should send to my JSP page. Please any one have any idea about this.
Help me.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You have to loop through them, build up a string and either attach it in the get or post. It is basic JavaScript working with forms.

Eric
 
Consider Paul's rocket mass heater.
 
subject: How to send Checkbox Value in a JSP page.
 
Similar Threads
passing a jsp variable as an argument to he javascript
Send Japanese Characters from JSP to Servlet
Maintain checked and unchecked in checkbox in pagination in display tag in struts
How to pass javascript value to Java method within JSP
Urgent:: How to get values into a combo-box dynamically.......