I have a function in asp.net code behind I need to get the result of the message box and if ok is clicked by the client needs to continue and modify the string message else exit out. You use the below code just need to code the comments section and any other if needed
{
string strmsg="my message"
[login to view URL](Page, [login to view URL](), "showmessage", "confirm('" + strmsg + "');", true);
//If user clicks ok for above message box
//contibue to next line
//else
//exit out of this function- return
//You have selected ok on the button
strmsg="my new message";
}