Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1925628.HtqMPqW3ec@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 07 Sep 2013 22:49:26 +0200 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 30 NNTP-Posting-Date: 07 Sep 2013 22:49:26 CEST NNTP-Posting-Host: 46c4e7c9.newsspool3.arcor-online.net X-Trace: DXC=7F`6\W^Ci<\mG86`U=_nC_McF=Q^Z^V3X4Fo<]lROoRQ8kF Ken wrote: >> You can use: >> >> document.forms['form'].elements['foo_box'].whatever; >> document.forms.form.foo_box.whatever; >> document.getElementById('form').foo_box.whatever; >> document.getElementById('foo_box').whatever; >> document.querySelector('#foo_box').whatever; // the "new way" >> window.foo_box; >> >>and even directly: >> >> foo_box.whatever; >> >>Personally I use getElementById when an element has an id but I am >>switching more and more over to querySelector (which is a bit more >>powerful). > > Thanks. That's the answer I was hoping for. The wrong answer. But thanks to your address munging, somebody else will have to give you the correct one. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.