Moin!
Ich will´s ja auch als Ereignis, und es ist ja auch eins. Ich will ja nicht das Ergebnis von "init()" ausgeben, sondern er soll seine Funktionskaskade nach dem fertigen Laden starten.
ok.:
<html>
<script type="text/javascript">
<!--
function init(){
alert('Hello again!');
return "Hallo Welt!";
}
onload = init; /* ohne "()"! */
//-->
</script>
<h2>Pla!</h2>
</html>
MFFG (Mit freundlich- friedfertigem Grinsen)
fastix®