Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library


Category: Javascript Codes Library >> Alerts >> Alert onLoad event handler

Code Snippet </> Info

Snippet Name: Alert onLoad event handler

Description: Show an alert message when a visitor enters your web page.

Compatible Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser

Note: Replace
'Welcome to'
with your own personal message.

Author: SnapBuilder <>

Last Modified: 2015-12-13 06:21:45

Language: javascript

Highlight Mode: javascript

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor

  About Copying

<html> <head> <script>alert("Welcome to")</script> </head> <body> [ YOUR CONTENT GOES HERE ] </body> </html>

[ Snippet Options ]


Anonymous 2014-05-04 06:50:39
Subject: Netscape
Does this work with Netscape?


snapbuilder 2014-05-04 06:54:09
Subject: Code Snippet Library Subject
Yes, it is compatible with Netscape.



© 2002 -  Snap Builder Public Codes Library