Using confirm before calling action

Hi,

i want use the simple java script confirm() to confirm the users request with button before some logic called. I have implemented the button with event on click . but there is only one return after action. If I use the confirm, I can not call another logic. Can someone give idea ?

thx

Peter

can someone help me? thx

Hello, you can check how the CRUD delete button is integrated in code. It has a JS confirm before deleting a record.