子页面的方法:
var active = {getContent:function () {return layedit.getContent(contentIndex)
}
}
window.parent._active = active;
父页面调用:
var content = window._active.getContent();
field.content = content;
子页面的方法:
var active = {getContent:function () {return layedit.getContent(contentIndex)
}
}
window.parent._active = active;
父页面调用:
var content = window._active.getContent();
field.content = content;