Hi everyone,
I really need help for this problem... Currently I need to do some cross
site scripting.. I have the first application hosted in domain
first.application.com, and the other application hosted in domain
second.application.com. Therefore, I need to do some manipulation to both
document.domain of first application and second application. So I change
the first application document.domain to application.com, and also the
second application document.domain to application.com. The problem now, in
my second application, I use Html Editor which embedded with
RichTextAreaImpl inside it. In browser IE 8, I always got error :
Permission denied, everytime I tried to set HTML value to my HTML Editor.
The strange thing is, it working well in browser FireFox and Chrome...
After investigating more, I found out that in IE, the browser render some
strange IFrame, which is the html tag is outside of the iframe tag... While
in FF dan chrome, it render correctly (html tag is inside of Iframe tag)...
Please help me to solve this problem... What solution do I have? I need to
get the html tag of html editor, but I can't get it because everytime I
tried to get it from html editor element, it just give me null because the
html tag render outside of iframe tag.
Here is the rendered html of html editor (in IE, using developer tools,
F12) :
<iframe title=" HTML Editor" class=" x-component" id="x-auto-112"
src="javascript:'';document.open();document.domain='devkds.devbz.local';"
frameBorder="0" style="width: 1213px; height: 570px;" __listener=""
__eventBits="6785">
<html>
<head>
<title></title>
<body>
this is content of html editor
Thanks,
Regards,
the.wizard
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/WZqQu7L8E6EJ.
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.