I read this questions:
Move element within parent from iframe Use jquery inside GWT jsni
but still i have a problem with my code:
private native void graveUpFromIframe() /*-{
$entry(function () {
var target = $wnd.$("body", $wnd.parent.document);
var source = $wnd.$("#bpml-editor-popup");
source.appendTo(target);
return 0;
});
}-*/;
After click application open the simple PopupPanel but when app work inside iframe I would like to move this panel to the parent window. At this moment my code does not work and I have no exceptions at log/gwt debug window.
//EDIT: missing # in jQuery selector but problem still exist.