Hi,
In the docs for HTMLPanel getElementById() it says:
"Finds an element within this panel by its id."
whereas in practice, the following
HTMLPanel panel = new HTMLPanel("<div></div>");
Window.alert(panel.getElementById("id")==null ? "Not
found":"Found");
will alert 'Found' if there is an element with that ID somewhere else in the
document. All getElementById() does is to temporarily attach the panel to
the DOM (if it isn't already attached) and then do
DOM.getElementById(id)
Not what is says on the box.
Ian
http://examples.roughian.com
--
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.