summaryrefslogtreecommitdiff
path: root/test/js/event-onloadfrombody.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/event-onloadfrombody.html')
-rw-r--r--test/js/event-onloadfrombody.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/js/event-onloadfrombody.html b/test/js/event-onloadfrombody.html
new file mode 100644
index 000000000..be491e6dd
--- /dev/null
+++ b/test/js/event-onloadfrombody.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>alert based onload (from body) example</title>
+
+</head>
+
+<body onload="alert('Running onload')">
+<h1>Just look at the log</h1>
+</body>
+</html>