Javascript onload 事件【每日一段代码39】

<html>
<head>
<script type="text/javascript">
function message(){
alert("该提示框是通过 onload 事件调用的。");
}
</script>
</head>

<body onload="message()">
</body>
</html>

posted on 2012-03-09 17:36  Cosimo  阅读(216)  评论(0编辑  收藏  举报

导航