Hi,
danke für deine Hinweise... allerdings funktioniert es nicht...
Aber du findest den Fehler bestimmt..
Was soll denn daran "funktionieren"?
<script type="text/javascript">
var vormals = "\n";
var jetzt = vormals.replace(/\n/g, "<br>");
document.write(jetzt);
</script>
Du wolltest doch in der Nutzereingabe irgendwas ersetzen - wie steht das jetzt in einem eigenen Scriptblock, der noch dazu sofort beim Laden der Seite ausgefuehrt wird?
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“