API DOCS
DOCS & TUTORIALS »
API DOCS »
xajax_js »
xajax_debug_uncompressed.js »
xajax.debug »
xajax.debug.writeMessage
Function: xajax.debug.writeMessage
xajax.debug.writeMessage = function(text, prefix, cls) { }
Parameters:
text
(string) The text to output.
prefix
(string) The prefix to use; this is prepended onto the message; it should indicate the type of message (warning, error)
cls
(stirng) The className that will be applied to the message; invoking a style from the CSS provided in
xajax.debug.windowTemplate . Should be one of the following
- warningText- errorText
