[Javascript] checkbox to change input field value

David Dorward david at dorward.me.uk
Mon May 22 07:11:32 CDT 2006


On Mon, May 22, 2006 at 01:05:58PM +0100, Alan Easton wrote:
>    I have a list of 5 checkboxes on a form and each one has the same name
>    "ids", but different values.
>     
>    What I would like to do when I submit the form, is find out which checkbox
>    was NOT checked.

Deal with it on the server. Have an array/list/whatever of values,
then compare that list to the list you get back from the form.

Trying to deal with it client side is asking for breakage.


-- 
David Dorward                                      http://dorward.me.uk




More information about the Javascript mailing list