Messages Issued by AJAX Functions
By default, messages returned by your AJAX functions are collected by the Framework and routed into the Framework message area. This means that they will appear on the browser task bar and be visible when the messages button is used.
You can stop this happening.
When invoking the SENDREQUEST function pass the 8th parameter as false to turn off this behavior:
Eg: SENDREQUEST(window,"","LOAD10","",LOAD10_response,null,true,false);
You can access the messages yourself by retrieving them from the AJAX virtual clipboard object like this example does:
var i = 0;
var intMESSAGECOUNT = AVRESTORENVALUE(0,"AJAX","SYSTEM","MESSAGECOUNT");
for (i = 1; i <= intMESSAGECOUNT; i++)
{
Var strMessageText = AVRESTOREAVALUE ("","AJAX","SYSTEM","MESSAGE",i);
alert(strMessageText);
}
AVSAVEVALUE(0,"AJAX","SYSTEM","MESSAGECOUNT");