I want to display a alert message when a user clicks on button.
I have a button "Signed" on click of this button I want to display a alert message saying "Are you sure you want to continue?" and two buttons in this alert message box "Yes" and "No".
On click of yes button I want a update function to be executed and on click of "No" only Alert should get closed and no changes in the current page.
Please anyone can guide me how to go on with this?