BaseScript << Alert >> Confirm
You have probably come across some sites that have an ALERT information box pop-up. This happens to be one of the most basic functions that JavaScript can perform.


Alert boxes are used to display some text information and have the visitor click on the OK button to continue on. This script is usually placed in the HEAD area of the code which makes the box appear before the actual page load.

<script type="text/javascript">

alert ("This is a JavaScript ALERT box.")

// -->

ALERT creates the actual ALERT box to appear. Anything placed within the double quotes will become the message that appears on the ALERT box.

You can use it for in different instances as well such as putting it into a function then calling it when required.
BaseScript << Alert >> Confirm

Advertise in the banner along the top, Click here!

Valid XHTML 1.0 Transitional Valid CSS! Text Link Ads