Chrischaaan: Textfeld in url...

Beitrag lesen

Ich hjab jetz den code hier:

<html>
<head>
<script language="javascript">
function link()
{
window.location.href = "ftp://" + document.Formular.Feld1.value + ":" + document.Formular.Feld2.value + "@pelosi.dyndns.org/";
}

</script>
</head>
<body>
<center>
<form name="Formular">
<input type="text" name="Feld1" size="20">
<input type="text" name="Feld2" size="20">
<br>
<input type="button" Value="Login" onclick="link()">
</form>

</center>
</body>
</html>

und es funzt wunderbar.