note 12596 deleted from function.parse-str by jimw
| From: | jimw@php.net | Date: | Sat, 08 Dec 2001 21:16:56 +0000 |
| Subject: | note 12596 deleted from function.parse-str by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22206@lists.php.net to get a copy of this message | ||
<p>Just to add a little note about JS and PHP-style naming of the elements. If you
have:</p>
<p><input type="text" name="arr_1[]"></p>
<p>Instead of adding id tags to all your elements, you can use the elemetns array to getto the
element. So, if we presume that the above element is the 2nd one in a row, we would use:<br>
document.formname.elements[1] to access it.</p>