hi leute, ich hab mal wieder ne frage.
hab auf einer seite zwei formulare, hab ein eingabefeld und will diese in ein <input type=hidden name="text" ...> tag übergeben. (dieses input ist das einzige input was vom cgi script ausgelesen wird ist sowas wie'ne chathilfe ...)
mein problem ist, das ein scriptfehler auftritt und darin steht:
das objeckt unterstützt die aktion nicht.
also hier mal der script im groben und in kurzfassung:
<html>
<head>
<script>
function wsper()
{
if(document.helper.c.checked == true){
a="/w";
b=document.helper.name.value;
c=document.helper.text.value;
document.inputter.text.value(c + " " + b + " " + a );
}
}
</script>
</head>
<body>
<form name="helper">
Name:
<input type="text" name="name" value="Lutz">
<input type="radio" name="c">
<br>
<textarea name="text">
test text
</textarea>
<br>
<input type="button" value="Flüstern" onClick="wsper()">
</form>
<form name="inputter">
<input type="text" name="text" readonly>
</form>
</body>
</html>
es ist nötig, das ich ohne ein zweites fenster arbeiten muß, und ohne iframes. danke für ihre aufmerksamkeit
hab auf einer seite zwei formulare, hab ein eingabefeld und will diese in ein <input type=hidden name="text" ...> tag übergeben. (dieses input ist das einzige input was vom cgi script ausgelesen wird ist sowas wie'ne chathilfe ...)
mein problem ist, das ein scriptfehler auftritt und darin steht:
das objeckt unterstützt die aktion nicht.
also hier mal der script im groben und in kurzfassung:
<html>
<head>
<script>
function wsper()
{
if(document.helper.c.checked == true){
a="/w";
b=document.helper.name.value;
c=document.helper.text.value;
document.inputter.text.value(c + " " + b + " " + a );
}
}
</script>
</head>
<body>
<form name="helper">
Name:
<input type="text" name="name" value="Lutz">
<input type="radio" name="c">
<br>
<textarea name="text">
test text
</textarea>
<br>
<input type="button" value="Flüstern" onClick="wsper()">
</form>
<form name="inputter">
<input type="text" name="text" readonly>
</form>
</body>
</html>
es ist nötig, das ich ohne ein zweites fenster arbeiten muß, und ohne iframes. danke für ihre aufmerksamkeit