mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
15 lines
331 B
HTML
15 lines
331 B
HTML
<html>
|
|
<head>
|
|
<title>alert based onload (from body IDL attribute) example</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Just look at the log</h1>
|
|
<noscript><p>Javascript is disabled</p></noscript>
|
|
<script type="text/javascript">
|
|
document.body.onload = function() { alert("onload event from IDL attribute"); };
|
|
</script>
|
|
</body>
|
|
</html>
|