This is ,my code in jsp. I need to pass checked checkbox values from a.jsp to b.jsp through javascript. I have no idea about it. Please help me. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <form method="post" action="b.jsp"> My Favourite Colors are <input type="checkbox" name="cb1" value="blue">Blue <input type="checkbox" name="cb1" value="green">Green <input type="checkbox" name="cb1" value="Yellow">Yellow <input type="checkbox" name="cb1" value="Red">Red <input type="checkbox" name="cb1" value="white">White <input type="submit"> </form> </body> </html>
mardi 4 août 2015
Passing checked checkboxes values to another jsp using javascript
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire