<script language="JavaScript" type="text/javascript"> function dodaj() { html = document.getElementById("html").value; wysiwyg = document.getElementById("edytor"); wysiwyg.contentWindow.document.open(); wysiwyg.contentWindow.document.write(html); wysiwyg.contentWindow.document.close(); } </script> <input type="button" value="dodaj" onclick="dodaj()" />
Nieznam sie na JS wiec prosił bym o gotowe rozwiązani

