When you delete records from a record set in Oracle Application Express using a Delete button it is best to give the user a chance to cancel.
This can be easily achieved using a JavaScript popup confirmation dialog box.
Create a button and edit the "Optional URL Redirect" parameters.
Set the "target is a" to "URL"
Set the the "URL Target" to :
javascript:confirmDelete('Are you sure you want to delete that record?','DELETE');
Technorati Tags : | oracle | apex | javascript | delete | confirmation |