blob: 542e5ec235af6d10e359e589e0799eb2b00f5a39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<html>
<head>
<title>alert based onload (from body IDL attribute) example</title>
</head>
<body>
<h1>Just look at the log</h1>
<script type="text/javascript">
document.body.onload = function() { alert("onload event from IDL attribute"); };
</script>
</body>
</html>
|