Warum gibt es eine Fehlermeldung nach dem zweiten Klick ("Objekt erwartet...")?
der Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>nvu2</title>
</head>
<body>
<br>
<script type="text/javascript">
function xxx() {
document.write('<tbody>');
document.write('<tr>');
document.write('<td align="center"><input value="Klick" onclick="xxx()" type="button"></td>');
document.write('</tr>');
document.write('</tbody>');
};
xxx();
</script>
</body>
</html>