Posts

Showing posts with the label APEX Custom Alert

Creating a jQuery Dialog Alert in Oracle APEX

Image
In this post I will be explaining how to create a jQuery Dialog Alert  in Oracle APEX. Usually developers use the standard alert or apex.message to show an alert or confirm message.  When it comes to customized message box it is a better approach to create a jQuery Dialog Alert. Follow the below steps to achieve this: 1) Paste the below JavaScript code in the Function and Global Variable Declaration section. var openDialog = function (dTitle,dMessage ) { if ( !dTitle ) { dTitle = 'Dialog'; } if ( !dMessage ) { dMessage = 'No message to display...'; } $('<div></div>').html( dMessage ).dialog({ title: dTitle, dialogClass: "dialog-class", resizable: false, ...