on a web page, i have a button, which when clicked, should open a message box with a message "Do you want to save??" and a "Yes" and a "No" button.Once the user selects any one of the two, the message-box should close.
in the click event of the button, i should be able to trap either of the two values selected by the user, as i have to different methods to call, depending on the selection of the user.

Please help.