Friday, May 20, 2011

box_alert() method

The box_alert() method creates a popup box with a button that gives you the option to close the box. You can use this as a box to alert someone when an action is not allowed, or for another reason to tell someone something. It can also be used as a result for form validation messages.

Browser support: all
TheMadScript Version: 1.0.0

Syntax: box_alert(message);

The following syntax below creates an alert box that says, "Hello, there!"

box_alert("Hello, there!");

No comments:

Post a Comment