hallo kann das mal einer testen?
der button geht nicht die zeile sol auf knopfdruck neu geschriebn werden geht aber nicht schreibt das nicht da hin wo ich möchte.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Bewerbungsformular</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style_01.css" rel="stylesheet" type="text/css">
</head>
<body text="000000" link="000000" vlink="000000" alink="000000">
<table width="600" border="1" cellpadding="3" cellspacing="1" bordercolor="262C58">
<script type="text/javascript">
i = 0
function zeile()
{
i ++;
if (i % 2) //grade zahl
{
color = "#83C2E3";
}
else color = "#C0DFF0";
document.writeln(' <tr>');
document.writeln(' <td rowspan="4" valign="top" bgcolor="' + color + '" class="text">' + i + '.</td>');
document.writeln(' <td width="150" bgcolor="' + color + '" class="text1">Jahr:</td>');
document.writeln(' <td bgcolor="' + color + '"><input name="jahr[' + i + ']" type="text" class="eingabe" id="jahr[' + i + ']"></td>');
document.writeln(' </tr>');
document.writeln(' <tr>');
document.writeln(' <td width="150" bgcolor="' + color + '" class="text1">Agentur/Firma:</td>');
document.writeln(' <td bgcolor="' + color + '"><input name="agentur[' + i + ']" type="text" class="eingabe" id="agentur[' + i + ']"></td>');
document.writeln(' </tr>');
document.writeln(' <tr>');
document.writeln(' <td width="150" bgcolor="' + color + '" class="text1">Produkt/Aktion:</td>');
document.writeln(' <td bgcolor="' + color + '"><input name="produkt[' + i + ']" type="text" class="eingabe" id="produkt[' + i + ']"></td>');
document.writeln(' </tr>');
document.writeln(' <tr>');
document.writeln(' <td width="150" bgcolor="' + color + '" class="text1">Tätigkeit als:</td>');
document.writeln(' <td bgcolor="' + color + '"><input name="tat[' + i + ']" type="text" class="eingabe" id="tat[' + i + ']"></td>');
document.writeln(' </tr>');
}
// Test
zeile();
// Test
</script>
<tr bgcolor="#83C2E3">
<td colspan="2" bgcolor="#83C2E3" class="text1">Sonstige Erfahrungen: </td>
<td valign="top" bgcolor="#83C2E3"><input name="sonstige" type="text" class="eingabe" id="sonstige"></td>
</tr>
<tr>
<td colspan="3" valign="top" bgcolor="#83C2E3"><input name="submit" type="button" class="knopf" id="submit" onClick="zeile()" value="weitere einfügen"></td>
</tr>
</table>
</body>
</html>