Not Solved [How To?] How to add any text to textarea message with other windows?
#1
Not Solved
Hello again! 


In newthread.php I open a window with javascript "window.open" in this window I have a text that I would put this text in the message textarea editor? Any idea?


In MyBB 1.6 so I did:
<script type="text/javascript">
var editor = eval('opener.' + 'clickableEditor');
function insert()
{
	if(editor)
	{
		editor.performInsert("Text!!!", "", true, false);
	}
}
</script>
[Image: mybbsig.php]

[Image: firma.php?id=1]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)