Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18732
| From | "Tony" <tony.johansson@inport.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | I hope to shorten this working code that remove all myPolyLine element below mySVG element |
| Date | 2013-03-06 08:53 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <kh6siv$9i9$1@dont-email.me> (permalink) |
function ClearSVGPolyLine()
{
var more = true;
while (more)
{
if (document.getElementById("myPolyLine") != null)
document.getElementById("mySVG").removeChild(document.getElementById("myPolyLine"));
else
more = false;
}
}
//Tony
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
I hope to shorten this working code that remove all myPolyLine element below mySVG element "Tony" <tony.johansson@inport.com> - 2013-03-06 08:53 +0100 Re: I hope to shorten this working code that remove all myPolyLine element below mySVG element "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-06 09:51 +0100 Re: I hope to shorten this working code that remove all myPolyLine element below mySVG element Jim T. <x@y.z> - 2013-03-06 12:43 -0500
csiph-web