Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #20352 > unrolled thread
| Started by | justaguy <lichunshen84@gmail.com> |
|---|---|
| First post | 2013-06-19 11:14 -0700 |
| Last post | 2013-06-20 07:05 -0700 |
| Articles | 1 on this page of 21 — 12 participants |
Back to article view | Back to comp.lang.javascript
How to clear/remove all the objects in a DIV? justaguy <lichunshen84@gmail.com> - 2013-06-19 11:14 -0700
Re: How to clear/remove all the objects in a DIV? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-19 20:36 +0200
Re: How to clear/remove all the objects in a DIV? Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-06-20 19:52 +0100
Perfect Parlance (was: How to clear/remove all the objects in a DIV?) Christoph Michael Becker <cmbecker69@arcor.de> - 2013-06-21 01:25 +0200
Re: Perfect Parlance (was: How to clear/remove all the objects in a DIV?) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-06-21 09:41 +0200
Re: Perfect Parlance Christoph Michael Becker <cmbecker69@arcor.de> - 2013-06-28 23:56 +0200
Re: Perfect Parlance "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-06-29 00:19 +0200
Re: Perfect Parlance "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-06-29 01:20 +0300
Re: Perfect Parlance (was: How to clear/remove all the objects in a DIV?) Gene Wirchenko <genew@telus.net> - 2013-06-21 12:52 -0700
Re: Perfect Parlance (was: How to clear/remove all the objects in a DIV?) John Harris <niam@jghnorth.org.uk.invalid> - 2013-06-24 21:03 +0100
Re: Perfect Parlance (was: How to clear/remove all the objects in a DIV?) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-06-25 10:50 +0200
Re: How to clear/remove all the objects in a DIV? justaguy <lichunshen84@gmail.com> - 2013-06-19 13:57 -0700
Re: How to clear/remove all the objects in a DIV? JJ <duh@nah.meh> - 2013-06-20 05:20 +0700
Re: How to clear/remove all the objects in a DIV? Gregor Kofler <usenet@gregorkofler.com> - 2013-06-20 00:57 +0200
Re: How to clear/remove all the objects in a DIV? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-20 01:16 +0200
Re: How to clear/remove all the objects in a DIV? justaguy <lichunshen84@gmail.com> - 2013-06-19 17:21 -0700
Re: How to clear/remove all the objects in a DIV? justaguy <lichunshen84@gmail.com> - 2013-06-19 17:39 -0700
Re: How to clear/remove all the objects in a DIV? Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-20 15:27 +0000
Re: How to clear/remove all the objects in a DIV? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-06-20 18:15 +0200
Re: How to clear/remove all the objects in a DIV? Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-06-20 21:01 -0300
Re: How to clear/remove all the objects in a DIV? justaguy <lichunshen84@gmail.com> - 2013-06-20 07:05 -0700
Page 2 of 2 — ← Prev page 1 [2]
| From | justaguy <lichunshen84@gmail.com> |
|---|---|
| Date | 2013-06-20 07:05 -0700 |
| Message-ID | <1bec7d1d-f09c-4bef-b2d9-5a3b3600fa8c@googlegroups.com> |
| In reply to | #20352 |
On Wednesday, June 19, 2013 2:14:09 PM UTC-4, justaguy wrote:
> Hi,
>
>
>
> I have this DIV below,
>
>
>
> <DIV id="workspace"> ... lots of dynamically generated objects here... </DIV>
>
>
>
> Now, i want this div to be empty, and attempted with document.getElementById('workspace').textContent = '' with no effects.
>
>
>
> What's the correct syntax?
>
>
>
> Thanks.
Update: I've solved the problem. Tho the syntax of removing object by its position (removeBefore or removeAfter) would be interesting as well.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.javascript
csiph-web