Franklin van de Meent wrote:
On Mon, 07 Mar 2005 19:19:24 -0600, Greg Dotts
<listmember@xxxxxxxxxxxxxxx> wrote:
Sure enough Kirk! That was it. Seems strange that you can set a
name/value pair on the <form> tag, but they aren't used. Guess they
were just kidding ;-)
The name attribute is used in javascript, for example when you are
changing a field value: document.formname.fieldname.value = 'foo';
which is a really crap way of referencing forms - besides given that a
form is a unique entity its better to reference it by id IHMO. in a perfect
world you could just use document.getElementById() and be done with it.
The value attribute does not exist for the form tag, go to
http://www.w3schools.com/tags/tag_form.asp for a list of allowed
attributes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php