Puh. Ok, ich versuch's mal mit Trockenschwimmen. Hab hier leider nicht die Zeit, das selbst auszuprobieren. Daher keine Garantie dass es funktionieren würde:
<html>
<head>
<script>
function mailIt() {
var orig = document.getElementById("firstText");
document.getElementById("h_firstText").setAttribute("name",orig.getAttribute("name"));
document.getElementById("h_firstText").setAttribute("value",orig.innerHTML);
var h_Form = document.getElementById("hiddenForm");
h_Form.setAttribute("action", "here@there.net");
h_Form.submit();
}
</script>
</head>
<body>
<form id="mainForm" action="myServerSkript.php">
<input type="text" id="firstText" name="explanation" size="30"/>
<input type="submit" onclick="mailIt();" value="Go"/>
</form>
<form id="hiddenForm" action="" method="POST">
<input type="hidden" id="h_firstText" name="" value=""/>
</form>
</body>
</html>
Hoffe, ich hab nicht zu weit danebengeschossen!
Mfg, MF