Hi Saehoon, "Saehoon Cheon" <[EMAIL PROTECTED]> wrote on 06/18/2007 06:15:55 PM:
> I'd like to make the function which can clean Canvas and draw new figure. > How can I clean or remove all of the previous figure? Assuming you added nodes to the DOM using something like 'appendChild' you can use 'removeChild' to remove all of the children you added. If the document was empty to start with you can just removeChild the firstChild of the document's rootElement until firstChild is null. > I used repaint() function, but it didn't work out. > Please let me know if you have a good example about if. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
