Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <4145994.AlPci6QIaN@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 19 Jun 2013 20:36:34 +0200 User-Agent: KNode/4.10.2 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+&. MIME-Version: 1.0 Lines: 29 NNTP-Posting-Date: 19 Jun 2013 20:36:36 CEST NNTP-Posting-Host: 30014055.newsspool2.arcor-online.net X-Trace: DXC=Xb3\9O6I=k3gP]QSEBQ^d4A9EHlD;3Yc24Fo<]lROoR18kF X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:20354 justaguy wrote: > I have this DIV below, > >
... lots of dynamically generated objects here... >
> > Now, i want this div to be empty, and attempted with ^ > document.getElementById('workspace').textContent = '' with no effects. > > What's the correct syntax? This syntax is essentially correct (again you should have posted the *relevant* parts of the *real* code in a *separate* paragraph); the whole markup or browser (DOM implementation) may not. “With no effects” is most certainly a wrong description, see . The personal pronoun for oneself is *always* spelled with a capital letter in English. Get a real name. Do not use Google Groups for posting if you cannot work around its bugs (e.g., producing lines of astronomical length). -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.