<html> <head> <title>Onload Example</title> <script type="text/javascript"> window.onload = function () { alert("Loaded"); }; </script> <body> </body> </html>