note 121930 deleted from reserved.variables.post by peehaa
| From: | peehaa@php.net | Date: | Sun, 28 Apr 2019 11:00:59 +0000 |
| Subject: | note 121930 deleted from reserved.variables.post by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210856@lists.php.net to get a copy of this message | ||
Note Submitter: acutclub at gmail dot com
----
See it like this: input elements are meant to be sent far away to the server with a unique reference
[the name attribute] to designate that element. likewise there must be some reference pointing to
that same element locally. The ID attribute is the reference for local processing, it makes the
element visible to JavaScript and the CSS engine. Modern browsers issue a console warning (We are
talking about Local processing here) when encountering the same id more than once because that does
matter to them, but for double names they dont care, that is left to the server to worry about.