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


Category: Javascript Codes Library >> Alerts >> onload >> 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 using the onLoad event.

Compatible Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser

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

Author: SnapBuilder <>

Last Modified: 2015-12-13 06:33:40

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
Copied To Clipboard!

<html> <head> <title>Alert onLoad event : on page entrance alert message</title> </head> <body onLoad="window.alert('Welcome to')"> [ YOUR CONTENT GOES HERE ] </body> </html>

[ Snippet Options ]


© 2002 -  Snap Builder Public Codes Library