<html>
<head>
<script language="JavaScript" type="text/javascript">
function cur_ins(field, text) {
if (document.selection) {
field.focus();
selected = document.selection.createRange();
selected.text = text;
} else {
if (field.selectionStart || field.selectionStart == '0') {
field.value = field.value.substring(0, field.selectionStart) + text + field.value.substring(field.selectionEnd, field.value.length);
} else {
field.value.concat(text);
}
}
} //cur_ins
</script>
</head>
<body>
<form action="neu/post.php" name="xxx" method="post">
<textarea name="text" cols="48" rows="10"></textarea>
<br>
<input type="button" class="button klein" value="fett" onclick="cur_ins(this.form.text, '');" name="fett" />
</form>
<hr>
<iframe src="xxx.html" name="Bildframe" width="300" height="200" align="left" scrolling="yes" marginheight="0" marginwidth="0" frameborder="0"></iframe>
... |