On Feb 10, 8:49 am, go canal <[email protected]> wrote: > Hi, > Thanks for your reply. > I have not tested but I think getElement().setInnerHTML will work. > > First, I thought that I can juse use RootPanel.get().clear() to remove > everything on the current page; then I hope I can use something like > RootPanel.get("id").clear() if I have sometign like this in my html file: > <div id="id"></div> > But it does not work.. > > So looks like I need to use setInnerHTML.
You should really use the clear() method of your different RootPanels, or you'll leak memory (until the user leaves the page and/or closes his browser window/tab). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
