Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send Checkbox Value in a JSP page.

 
Talha-bin -Shakir
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic