This question is locked. New answers and comments are not allowed.
hi,
in my app I have a radhtmlplaceholder that loads a page containing an applet.
When the page has finished loading and the applet is loaded I can call a javafunction on the applet using
All that works well on IE (v8+9) and FF (v12), but **NOT** using Google Chrome (v19).
Accoring the Web Google Chrome does not support the contentWindow . Instead (accoring the Web) you need to use the contentDocument property.
Question: How do I call my Javascript function when I obtain my contentDocument object ???
I already tried to call invoke on the contentDocument object but this (as kind of expected) did not work.
Any help is appreciated.
Best regards
Hans-Juergen
in my app I have a radhtmlplaceholder that loads a page containing an applet.
When the page has finished loading and the applet is loaded I can call a javafunction on the applet using
HtmlElement
iframe = simplesearchquerymarvinappletEditable.HtmlPresenter.Children[0] as HtmlElement;
iframe.SetAttribute(
"id", "myID");
HtmlObject
myhtmlobj = HtmlPage.Document.GetElementById("myID").GetProperty("contentWindow") as HtmlObject;
myhtmlobj.Invoke(
"MyJavascriptFunction");
All that works well on IE (v8+9) and FF (v12), but **NOT** using Google Chrome (v19).
Accoring the Web Google Chrome does not support the contentWindow . Instead (accoring the Web) you need to use the contentDocument property.
Question: How do I call my Javascript function when I obtain my contentDocument object ???
I already tried to call invoke on the contentDocument object but this (as kind of expected) did not work.
Any help is appreciated.
Best regards
Hans-Juergen