CNET JS Code Documentation

Function: errorAlert

Makes a little alert box with a close button.

Author: Aaron Newton

Syntax

errorAlert(messageHeader, message[, baseHref]);
 

Arguments

  1. messageHeader - (string) the caption for the window
  2. message - (string) the error message
  3. baseHref - (string) the location of the icon_problems_sm.gif file; defaults to cnet's domain.

Example

errorAlert("Woops!", "Oh nos! I've got five Internets open!");
 

Returns