AJAX - Error messages and troubleshooting
From All n One's bxp software Wixi
There is often error messages to display when using the engine for a variety of reasons including: incorrect username, password, IP address restricted, etc.
For this reason, it is possible to write back to screen the error messages into a user specified div. You create the div on your form where you like it and put id="" in it.
If you set aryAjax_Settings = 'divYourName'; then the error messages will write to the innerHTML of the div.