Hello, this is regarding Extplorer at http://extplorer.sourceforge.net
I'm trying to add a TinyMCE editor for people not used to writing content in HTML, and so I've added a popup window link to 'edit_area_full_with_plugins.js':
<div class='area_toolbar' id='toolbar_1'>[__TOOLBAR__]<a href=\"javascript:void(0);\" name=\"newWindow\" title=\"Child Window\" onClick=\"window.open('tinymce/wysiwyg.html','newWindow','width=700, height=350,left=150,top=200,toolbar=no,resizable=false')\">WYSIWYG Editor</a></div>
This pops up my window fine, but I can't seem to post back to the EditArea form. Here's my post script and form....what am I doing wrong?
<script type="text/javascript">
function post_value(){
opener.document.form.textarea.value = newWindow.document.frm.elm1.value;
self.close();
}
</script>
<form name="frm" method="post" action="">
<textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
</textarea>
<br />
</form>
<input type="button" value="Submit" onclick="post_value();">
</form>