onload event

wxdqz

New Member
<script language="Javascript">
function init_cal(){
............
}
</script>

<body onload="init_cal">
........[generate dynamic forn here ]
</body>

For the above codes, i know i can use onload event to trigger a function before generating dynamic form in body. But i would like to ask how to automatically trigger the init_cal function after generated the dynamic form??


such as....
<body >
........[generate dynamic forn here ]
<div onload="init_cal">
</div>
</body>
???
How to do that??
Thanks in advance:P
 
Back
Top