Thanks for your reply. The problem is that RootPanel.get("Id").clear
(); doesn't not delete the tag from the page but only remove widgets
inside the tag.
The problem is that I've not widget inside the tag but other tag with
css style attached.

Any ideas?

Thanks

On 2 Feb, 11:32, rudolf michael <[email protected]> wrote:
> RootPanel.get().clear();
> you can always get any div Id also and clear it. by using
> RootPanel.get("Id").clear();
>
> On Mon, Feb 2, 2009 at 12:31 PM, rudolf michael <[email protected]> wrote:
> > RootPanel.get().celar();
>
> > On Mon, Feb 2, 2009 at 12:29 PM, bond <[email protected]> wrote:
>
> >> Hi,
> >> I've a simple problem. I've mi page.html where there are some tags:
>
> >> <div id="tag1><div id="tag2"><div id="tag3></div></div></div>
>
> >> and so on. I'd like to remove ALL tags inside the <body> so that I can
> >> clear the page and then add my widget.
>
> >> Thanks for any suggestion
>
> >> Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to