|
Posted by marcwentink@hotmail.com on 11/19/86 11:39
Steve:
> Is it being used at all in your code?
Not at all.
The person who wrote it just assumed it should have a name and an id.
The id is used, the name not. But why should td have an id, but not a
name? Why is there a name and also an id attribute anyway?
The only reason I can find is that some elements have one name, and a
few sort of subelements, by id. And then you can use:
getElementsByName, note the plurial "Elements".
Navigation:
[Reply to this message]
|