Hallo,
Leider happerts bei mir schon wieder. Hab probiert mit Javascript ein Wert auszutauschen mit dem eingebenen. Funktioniert aber nicht... Aller Anfang ist schwer.. hehe
<html>
<head>
<title>Heute gehts aber gut!</title>
<link href="css/styles.css" type="text/css" rel="stylesheet">
<meta name="author" content="Domenik Jones">
<script language="javascript">
function ChangeDatum () {
var Datumtext1 = document.createTextNode("Datum: " + DatumText);
var DatumText = window.prompt("Datum des Meetings? (dd.Monat.yyyy)");
alert("Das Meeting fand am " + DatumText + " statt.");
document.getElementById("tdDatum").replaceChild(DatumText1, document.getElementById("tdDatum").firstChild);
}
function ChangeTitle () {
var TitleText = window.prompt("Titel des Meetings?");
}
</script>
</head>
<body>
<table width="900" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- START HEADER -->
<table width="850" cellpadding="5" cellspacing="5" align="center">
<tr valign="middle">
<td align="left" class="datum" height="150" id="tdDatum">
Meeting vom <a class="datum" href="javascript:ChangeDatum()">ändern</a>
</td>
</tr>
</table>
<!-- END HEADER -->
</td>
</tr>
</table>
</body>
</html>
Gruss Dichti