What is the function submitjustthisone() look like?

On Feb 23, 9:54 pm, Al C <al.caug...@gmail.com> 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 <albertk...@gmail.com> 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 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.

Reply via email to