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