Getting the component's window
Hi there!
I'm trying to get the selected text of a RichTextArea. Diving into the
component I found out that it's really an iframe with a body holding
the values typed. I tried to use window.document.getSelection() on
firefox, but it's returning null
It seems that using window is referreing to the top window where the
iframe is contained, not the iframe of the component it self.
Is it possible to reference the components window not the parent
window.
PS: I tried $wnd and did not work as well.
Regards
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home