[help] how to call warning box

Dear friends.

The warning box:
warning

I want to call this warning box with my custom message and action, from my javascript code, how I do it?
I tried many things, but without success.

Now I use this solution:

function m2(c1) {
if (window.confirm("Confirm action!")) {
// my code
}
}
But this method is not good =(

Thank you in advance
Alisson

Solved.
showConfirmationDialog

1 Like

Hi @alisson.ve!
Could yo please mark your last post as solution. Thank you!