Andreas Schneider: Quell-Codes zu "Script-Ausführung verhindern?"

Beitrag lesen

Hallo Tina,

Eine Kleinigkeit zur Ergänzung:

document.getElementById('test').innerHTML = dyntable;

Nicht jeder Browser kennt document.getElementById, also solltest Du noch document.all und
document.layers abfragen und dementsprechend reagieren (dazu findest Du ziemlich viel im Archiv, Stichworte Browserweiche oder Browserabfrage).

Grüße
Andreas

--
If you describe things as better than they are, you are considered to be romantic;
if you describe things as worse than they are, you will be called a realist;
and if you describe things exactly as they are, you will be thought of as a satirist.
(Quentin Crisp)