Kod
<iframe name="html_text" id="html_text" width="560" height="450" scrolling="yes"></iframe>
<INPUT Type=text Name=tresc_dokumentu Value='<? echo $login->input($row['TRESC'],$tresc_dokumentu); ?>'>
<BR>
<script language="JavaScript" type="text/javascript">
<!--
nowy();
if(edytor.tresc_dokumentu.value) html_text.document.write(edytor.tresc_dokumentu.value);
//-->
</script>
<INPUT Type=text Name=tresc_dokumentu Value='<? echo $login->input($row['TRESC'],$tresc_dokumentu); ?>'>
<BR>
<script language="JavaScript" type="text/javascript">
<!--
nowy();
if(edytor.tresc_dokumentu.value) html_text.document.write(edytor.tresc_dokumentu.value);
//-->
</script>
funkcja nowy() tworzy pusty dokument a if(edytor.tresc_dokumentu.value) html_text.document.write(edytor.tresc_dokumentu.value); wpisuje wartość do tego pola. W tym przypadku z <IMG SRC="obrazek.jpg"> tworzy się <IMG SRC='"obrazek.jpg"'> co nie jest po mojej mysli

