Hi Chris,
danke für deine Hinweise... allerdings funktioniert es nicht...
Aber du findest den Fehler bestimmt..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>test</title>
<script type="text/javascript">
var current_el = false
function startcheck(el,id) {
current_el = el;
document.onkeyup = function () {
check(id);
}
}
function endcheck() {
current_el = false;
}
function check(id) {
if (!current_el) {
document.onkeyup = null;
return
}
document.getElementById(id).innerHTML = current_el.value;
}
</script>
<script type="text/javascript">
var vormals = "\n";
var jetzt = vormals.replace(/\n/g, "<br>");
document.write(jetzt);
</script>
</head><body>
<table border="0" width="90%" cellspacing="0" cellpadding="0" height="100">
<tr>
<td style="font-size: 10px; letter-spacing: 1pt; vertical-align: top; color:#000000; font-weight:bold" valign="top" align="left">
|<span id="blabla"></span></p>
</td>
</tr>
</table>
<form method="POST" action="">
<p><textarea onfocus="startcheck(this,'blabla')" onblur="endcheck()" wrap="physical" rows="10" name="blabla" cols="30"></textarea></p>
<p><input type="submit" value="Absenden" name="B1"><input type="reset" value="Zurücksetzen" name="B2"></p>
</form>
</body></html>
Ich hoffe ich nerv nicht damit, aber bin ziemlich neu auf dem Gebiet.
LG
PAtrick