An interesting thing about html widget is that you cannot execute
javascript code in it.

for example:
take the following easy javascript: <script type="text/
javascript">alert('hi') </script>

if you put it in html.setHtml function it will run only on Firefox

Chrome, opera, safari will ignore it.

The solution:
put you script in a regular html file and then set html widget source
to this html file or do the same with a Frame instead of an HTML and
setSource of that frame to this html.
This works even on all browsers

-- 
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