Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] checkbox to change input field value


  • From: david at dorward.me.uk (David Dorward)
  • Subject: [Javascript] checkbox to change input field value
  • Date: Mon May 22 07:11:42 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