我有" mypage.html"其中包含
<div id = "more">
<div id = "content">
</div>
</div>
where<div id = "content">
contains another html page I have accessed it using jquery in "mypage.html" the code is
$(document).ready(function(){
$("#content_window").load("otherpage.html");
});
其中&#34; otherpage.html&#34;包含
<div id = "question>
<div id = "box">
<div id = "richtextare">
<iframe id = "wysiwyg" name = "wysiwyg">
</iframe>
</div>
</div>
</div>
Where&#34; Elements&#34;是&#34; DevTools&#34;在chrome中显示像这样的元素
<div id = "more">
<div id = "content">
<div id = "question>
<div id = "box">
<div id = "richtextare">
<iframe id = "wysiwyg" name = "wysiwyg">
</iframe>
</div>
</div>
</div>
</div>
</div>
现在我怎样才能&#34; on&#34; &#34; iframe&#34;的设计模式。当我使用
var richeditor = wysiwyg.document;
richeditor.designMode = "on";
设计模式正在&#34; otherpage.html&#34;但它不适用于&#34; mypage.html&#34;