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 ?