| AlertError: function( | type | ) |
|
Alert an error message.
Parameters
| type | (string) The type of error to alert. Possible values are type are: freeform ~ The message to be alerted will be whatever is the value of the message attribute of the parameter options. invalid_data ~ The alerted message will let the user know that the response from the server results in an invalid data. openlink ~ The alerted message will let the user know that the requested page could not be reached. submitform ~ The alerted message will let the user know the form could not be submitted. |
| options | (object) An object containing various options used in the execution of this method. Defaults to an empty object. |
The structure of the options parameter, if given, should look like the following:
Object(
message: {
(string) The message to be alerted to the user. Defaults to
an empty string.
}
)
Returns
(boolean) This method will always return true.