What is the function submitjustthisone() look like? On Feb 23, 9:54 pm, Al C <[email protected]> wrote: > Albert - change the onclick to point to a javascript > e.g., > <input type="checkbox" name="choice"value="1" > onclick="submitjustthisone();"> > > Of course, youwillalso need to write this function > <script> > function submitjustthisone(){ > //do the stuff you need to do} > > </script> > > On Feb 23, 4:58 pm, albert kao <[email protected]> wrote: > > > > > My JSP web page has many checkboxes. > > What is web page source code look like when clickingonecheckboxwill > >submitonlyonecheckboxvalue(not the whole form) immediately? > > i.e. togglingonecheckboxwillsend the info thatonlythatcheckbox > > is toggled. > > This does not work because clickingonecheckboxwillsend 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
