On Mon, 12 Apr 2010 14:15:56 +0200, Joe D Williams <joedwil@earthlink.net> wrote: >>> Anne wrote > Elements using name="" are found using >>> getElementsByName() which does not >>> look at whether name is used on an element where it is allowed or not. >>> >>> Thanks, getElementsByName() has nothing to do with attributes named >>> @name. That interface deals with element names, not atributte name. >> >> That is getElementsByTagName(), not getElementsByName(). > > OK, same comment applies. Nothing to do with attribute name or any use > of @name, but deals with tag (element) name. No it doesn't. getElementsByName(name) finds elements that have a name="" attribute whose value is equal to name. -- Anne van Kesteren http://annevankesteren.nl/Received on Monday, 12 April 2010 12:18:30 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:07 GMT