note 39225 added to language.variables.external

From: Date: Wed, 21 Jan 2004 11:31:16 +0000
Subject: note 39225 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-63941@lists.php.net to get a copy of this message
The 'check all' functionality is actually quite simple. Don't use the short notation for handling form element data, use the long notation: document.forms['id'].elements['name[]'] or with true DOM methods: document.forms.namedItem('id').elements.namedItem('name[]') Both should return an array (or actually an HTMLCollection of HTMLOptionCollection object). You can use this to check all checkboxes in the array/object, for example. ---- Manual Page -- http://www.php.net/manual/en/language.variables.external.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39225 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39225&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39225&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63941) next »