如题,一个表单中,如果是一个textarea,可以用:document.getElementById("content").value="1111"这样来赋值,但是如果这个是一个隐藏textarea的在线编辑器,如:
<textarea id="content" name="content" style="display:none;"></textarea>
<iframe id="HtmlEditor" class="editor_frame" frameborder="0" marginheight="0" marginwidth="0" style="width:100%;height:260px;overflow:visible;" hideFocus></iframe>
这样表单中,隐藏了id=content的textarea,似乎是在iframe中操作的,这样如何赋值到iframe中呢?