Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <6036303.Dn5HOMtUXI@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sun, 08 Sep 2013 01:44:03 +0200 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <1925628.HtqMPqW3ec@PointedEars.de> <1d6n299ba9cmtagpesrbgp646td9fhtgsr@4ax.com> MIME-Version: 1.0 Lines: 41 NNTP-Posting-Date: 08 Sep 2013 01:44:04 CEST NNTP-Posting-Host: 6bd455ce.newsspool3.arcor-online.net X-Trace: DXC=WS5P Thomas 'PointedEars' Lahn wrote: >> Ed Jay wrote: >>> 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. > > I appreciate your cooperating, although I have no idea wth you're trying > to say. > […] > Ed Jay (remove 'M' to respond by email) HTH -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.