What I am doing is, insert a piece HTML into a HtmlPanel from RPC
payload, aka, inside onSuccess() method. I found different react
against <script> in different browsers. In FF, the javascript will be
exceuted, which is I am expected.  But Chrome, IE and Opera just
ignore the script. I know in jQuery ajax call, there is dataType
option can eval javascript from payload.

As spec from http://docs.jquery.com/Ajax/jQuery.ajax
dataType option:
"html": Returns HTML as plain text; included script tags are evaluated
when inserted in the DOM.

I want to know if there is similar API in GWT to evaluate javascript.
And, any idea why FF is different with others?
-- 
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