Albert - change the onclick to point to a javascript e.g., <input type="checkbox" name="choice" value="1" onclick="submitjustthisone();">
Of course, you will also need to write this function <script> function submitjustthisone(){ //do the stuff you need to do } </script> On Feb 23, 4:58 pm, albert kao <albertk...@gmail.com> wrote: > My JSP web page has many checkboxes. > What is web page source code look like when clicking one checkbox will > submit only one checkbox value (not the whole form) immediately? > i.e. toggling one checkbox will send the info that only that checkbox > is toggled. > This does not work because clicking one checkbox will send the whole > page > <form name="myform" method="post"> > <input type="checkbox" name="choice" value="1" onclick="submit();"> > <input type="checkbox" name="choice" value="2" onclick="submit();"> > <input type="checkbox" name="choice" value="3" onclick="submit();"> > ... -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.