Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Denis McMahon Newsgroups: comp.lang.javascript Subject: Re: document.elementname vs document.getElementById("id") Date: Sun, 30 Sep 2012 13:10:04 +0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 30 Sep 2012 13:10:04 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="986f797cbd3b8f473a4775d73e9098bc"; logging-data="3499"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dQJJVTXxLRvcvulCcr7un64PogL8sXKs=" User-Agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2) Cancel-Lock: sha1:jUxaLcRKHCXvjVqteyxTYCxtFYI= Xref: csiph.com comp.lang.javascript:16271 On Sun, 30 Sep 2012 11:02:52 +0300, Jukka K. Korpela wrote: > "This attribute names the element so that it may be referred to from > style sheets or scripts. Note. This attribute has been included for > backwards compatibility. Applications should use the id attribute to > identify elements." > > http://www.w3.org/TR/html401/interact/forms.html#adef-name-FORM Many thanks, that's the bit I was having trouble finding. Rgds Denis McMahon