netsurf/test/js/event-onloadfrombody2.html

14 lines
278 B
HTML
Raw Normal View History

2015-11-22 19:53:22 +03:00
<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>