mehrere functionen im onload=""

  • hallo

    ich möchte mehrere funtionen im <body onload=""> unterbringen

    wie schreib ich das

    Beispiel des problems:
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function printpage()
    {
    window.print();
    }

    function Timer()
    {
    window.setTimeout ('window.close ()', 20000);
    }
    </script>
    </head>
    :(
    <body onload="printpage" onload="Timer">
    :(

    Danke für euer Posting

    MfG Vandyce

  • Im Head

    Body onload

    Code
    <body onload="onload()">