javascript - How does user confirmation message box work in ASP.Net -


how client know send request server when confirmation box result ok , stay on page if cancelled? also, mechanism different in asp.net , asp.net mvc?

the responses got seem tell me how implement functionality. want know internal working of when user clicks ok/cancel happens internally. how browser come know has proceed server call or close , nothing?

you can use simple confirm box

$("#callconfirm").on("click", function(e) {     if(confirm('are sure'))         alert('yes');     else         alert('no'); }); 

jsfiddle


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -