ich hoffe das hilft dir weiter:
<script language="JavaScript">
if (Bedingung == 1) {
document.writeln ('<table>');
document.writeln (' <tr>');
document.writeln (' <td>Tabelle 1</td>');
document.writeln (' </tr>');
document.writeln ('</table>');
}
if (Bedingung == 2) {
document.writeln ('<table>');
document.writeln (' <tr>');
document.writeln (' <td>Tabelle 2</td>');
document.writeln (' </tr>');
document.writeln ('</table>');
}
</script>
gruss
eza