Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!inn3.news.alteholz.net!easy.in-chemnitz.de!feeder.erje.net!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1945846.aqSPkdTlGX@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 13 Jan 2012 22:23:20 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Cannot write to the DOM Newsgroups: comp.lang.javascript References: <3437926.47.1326345632135.JavaMail.geo-discussion-forums@yqiq10> <1933115.aqSPkdTlGX@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 41 NNTP-Posting-Date: 13 Jan 2012 22:23:20 CET NNTP-Posting-Host: e0436e42.newsspool1.arcor-online.net X-Trace: DXC=n`3=F>Bc^F0d8Nb@@ZG@b=ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg23:^P=7BE@=0DZm8W4\YJN<;?f@h5gMfb Thomas 'PointedEars' Lahn wrote: >> RH wrote: >>> I'm a newbie, and just starting to use javascript. >> There is no "javascript". > > One day Thomas will amaze us by suggesting an alternative word or phrase > to replace 'javascript' (all lower case) to describe any or all of these > languages. BTDT. > But if the name is more than 3 words long it's going to be ignored. It has two words, three at most. >>You are using JavaScript, JScript or something >>else, depending on the runtime environment (the browser). All of them are >>ECMAScript implementations and share most of the syntax elements. > > All of them are only partly ECMAScript implementations. Access routes to > the DOM objects, or equivalent, are outside ECMAScript. The APIs available for use with a programming language do not change the nature of that programming language. >>> I've written a small program that simply adds an element to an unordered >>> list in the DOM: >> The DOM (Document Object Model) is an API. You are adding an element to >> the _document tree_ instead. > > > Equally correct is to say he is adding an element to the document. No, because the underlying markup does _not_ change. PointedEars -- When all you know is jQuery, every problem looks $(olvable).