There are many examples of it in this group.
Below an example:
The javascript function:
public static native Element getHead() /*-{
return $doc.getElementsByTagName('head')[0];
}-*/;
You simple call this in your click handler.
-- Ed
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---