Re: Off Topic: Width of text input box vs. password input box
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Sun, 30 Oct 2005 19:34:47 +0100
cjl wrote:
> VK:
>> But first assign different names to your two forms: it's a gross DOM
>> misuse.
>
> Even if they have different parents?
Ignore what VK had to say on the subject. He mistakenly referred to
your `form' elements. It seems to me that you took that as a reference
to the `input' elements since your forms are not named the same.
There is nothing wrong in naming form controls the same, not even if
they have the same parent `form' element; the element objects will
be properly represented in a HTMLCollection. However, it complicates
accessing the respective element objects via the DOM if the parent
`form' element is the same; so in this case, iff(!) not needed, it
should be avoided.
PointedEars
.
- References:
- Prev by Date: Re: Off Topic: Width of text input box vs. password input box
- Next by Date: Re: is there a way to reset link states
- Previous by thread: Re: Off Topic: Width of text input box vs. password input box
- Next by thread: Re: Off Topic: Width of text input box vs. password input box
- Index(es):