Hi,
In my apex page the success or error message flashes only for fraction of seconds. How to make it flash for 15-20 seconds? I am using apex.message.showErrors method, how to use timer in this procedure?
❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
OrclQA.Com is a question and answer forum for programmers.
Here anyone can ask questions and anyone can answer to help others.
It hardly takes a minute to sign up and it is 100% FREE.
Vinish Kapoor
There is no such parameter available to pass time to showerrors method.
You can check the following tutorial to display error messages using JS:
Displaying Error Messages using JavaScript API in Oracle Apex
afzal
apex.message.clearErrors();
apex.message.showErrors([{
type: "error",
location: "inline",
pageItem: pItem,
message: pData,
unsafe: false
},
{
type: "error",
location: "inline",
message: "An error has occurred.",
unsafe: false
}
]);
// TO HIDE CLIENT SIDE ERROR MESSAGE
setTimeout(function() {
$('#APEX_ERROR_MESSAGE').fadeOut('fast');
}, 2000);