window.confirm(message);
function confirmSave() { var ans = confirm('Do you want to save this data?'); if (ans == true) { return true; } else { return false; } }
OnClientClick="return confirmSave();"
function load(){ var res = window.confirm("How Are You ?"); if(res){ code to update the data in database. } else{ do something else } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)