I have a editable table with two columns and a checkbox column:
<FORM NAME="form1" METHOD="POST" action="new2.jsp"><table id="t01"><tr><th>Sel</th><th>Name</th><th>Surname</th></tr><tr><td> <input TYPE=checkbox name=check VALUE="edit"></td><td><div contenteditable> </div></td><td><div contenteditable> </div></td></tr></table><INPUT TYPE=submit name=submit Value="Submit"></FORM>
I want to get each edited cell checked value of the HTML TABLE and send them to another jsp.
This is my second jsp file: new2.jsp
<body><%! String[] value;
value = request.getParameterValues("check");
if (value != null)
{
for (int i = 0; i < value.length; i++)
{
out.println ("<b>"+value[i]+"<b>");
}
}
else out.println ("<b>none<b>");
%></body>